Plane: remove pointless protocol parameter to setup_uart

This commit is contained in:
Peter Barker 2019-06-19 14:34:02 +10:00 committed by Andrew Tridgell
parent db2aff56c0
commit 78a1f97caa

View File

@ -55,7 +55,7 @@ void Plane::init_ardupilot()
// initialise serial ports
serial_manager.init();
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