mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Rover: fix serial manager integration
This commit is contained in:
parent
7e4dd9666c
commit
8f49c96b1a
@ -424,7 +424,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
Block a user