Browse Source

Rover: remove pointless protocol parameter to setup_uart

master
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
4a2022d6e3
  1. 2
      APMrover2/system.cpp

2
APMrover2/system.cpp

@ -44,7 +44,7 @@ void Rover::init_ardupilot() @@ -44,7 +44,7 @@ void Rover::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
// more than 5ms remaining in your call to hal.scheduler->delay

Loading…
Cancel
Save