From 78a1f97caa1837ad9d11d5f595104c75ee2399b4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 19 Jun 2019 14:34:02 +1000 Subject: [PATCH] Plane: remove pointless protocol parameter to setup_uart --- ArduPlane/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 5d6e5dc900..b853c28b17 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -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