|
|
|
@ -129,14 +129,14 @@ static void init_ardupilot()
@@ -129,14 +129,14 @@ static void init_ardupilot()
|
|
|
|
|
check_usb_mux(); |
|
|
|
|
|
|
|
|
|
// init the GCS connected to the console |
|
|
|
|
gcs[0].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_Console); |
|
|
|
|
gcs[0].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_Console, 0); |
|
|
|
|
|
|
|
|
|
// init telemetry port |
|
|
|
|
gcs[1].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_MAVLink1); |
|
|
|
|
gcs[1].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_MAVLink, 0); |
|
|
|
|
|
|
|
|
|
#if MAVLINK_COMM_NUM_BUFFERS > 2 |
|
|
|
|
// setup serial port for telem2 |
|
|
|
|
gcs[2].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_MAVLink2); |
|
|
|
|
gcs[2].setup_uart(serial_manager, AP_SerialManager::SerialProtocol_MAVLink, 1); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if FRSKY_TELEM_ENABLED == ENABLED |
|
|
|
|