mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
GCS_MAVLink: use instance in find_baudrate
This commit is contained in:
parent
89a50b99bb
commit
c5c40adb76
@ -102,7 +102,7 @@ GCS_MAVLINK::setup_uart(const AP_SerialManager& serial_manager, AP_SerialManager
|
||||
uart->set_flow_control(old_flow_control);
|
||||
|
||||
// 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
|
||||
init(uart, mav_chan);
|
||||
|
Loading…
Reference in New Issue
Block a user