mirror of https://github.com/ArduPilot/ardupilot
Copter: remove pointless protocol parameter to setup_uart
This commit is contained in:
parent
932c36a3fb
commit
db2aff56c0
|
@ -52,7 +52,7 @@ void Copter::init_ardupilot()
|
|||
serial_manager.init();
|
||||
|
||||
// setup first port early to allow BoardConfig to report errors
|
||||
gcs().chan(0).setup_uart(AP_SerialManager::SerialProtocol_MAVLink, 0);
|
||||
gcs().chan(0).setup_uart(0);
|
||||
|
||||
|
||||
// Register mavlink_delay_cb, which will run anytime you have
|
||||
|
|
Loading…
Reference in New Issue