Rover: fix serial manager integration

This commit is contained in:
Randy Mackay 2015-04-01 15:13:31 -07:00
parent 7e4dd9666c
commit 8f49c96b1a

View File

@ -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);
} }