How can I change the USB port to TELEM1 when using HIL

Now, I am trying to use the HITL function of pixhawk4, but this mode is now transmitting data through the USB interface. I want to use the TELEM1 interface. How should I change the source code?

1 Like