GCS_MAVLink: use instance in find_baudrate

This commit is contained in:
Mike Clement 2015-04-06 14:47:51 -07:00
parent 89a50b99bb
commit c5c40adb76
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ GCS_MAVLINK::setup_uart(const AP_SerialManager& serial_manager, AP_SerialManager
uart->set_flow_control(old_flow_control); uart->set_flow_control(old_flow_control);
// now change back to desired baudrate // now change back to desired baudrate
uart->begin(serial_manager.find_baudrate(protocol)); uart->begin(serial_manager.find_baudrate(protocol, instance));
// and init the gcs instance // and init the gcs instance
init(uart, mav_chan); init(uart, mav_chan);