mirror of https://github.com/ArduPilot/ardupilot
Tracker: fix serial manager integration
This commit is contained in:
parent
8f49c96b1a
commit
912a5d80b1
|
@ -221,7 +221,7 @@ static void check_usb_mux(void)
|
||||||
// SERIAL0_BAUD, but when connected as a TTL serial port we run it
|
// SERIAL0_BAUD, but when connected as a TTL serial port we run it
|
||||||
// at SERIAL1_BAUD.
|
// at SERIAL1_BAUD.
|
||||||
if (usb_connected) {
|
if (usb_connected) {
|
||||||
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_Console);
|
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_Console, 0);
|
||||||
} else {
|
} else {
|
||||||
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_MAVLink, 0);
|
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_MAVLink, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue