Tracker: fix serial manager integration

This commit is contained in:
Randy Mackay 2015-04-01 15:13:41 -07:00
parent 8f49c96b1a
commit 912a5d80b1
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ static void check_usb_mux(void)
// SERIAL0_BAUD, but when connected as a TTL serial port we run it
// at SERIAL1_BAUD.
if (usb_connected) {
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_Console);
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_Console, 0);
} else {
serial_manager.set_console_baud(AP_SerialManager::SerialProtocol_MAVLink, 0);
}