From 33f00c00512ddfcfb5dc5868760a87a30eff0e9e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 16 Apr 2020 15:18:37 +1000 Subject: [PATCH] ArduSub: remove comment for already-removed in-delay-callback function These are now attached to completely unrelated functions, which is pretty bad. --- ArduSub/GCS_Mavlink.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 777cc8739d..04f071ff5f 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -788,13 +788,6 @@ void GCS_MAVLINK_Sub::handle_rc_channels_override(const mavlink_message_t &msg) GCS_MAVLINK::handle_rc_channels_override(msg); } - -/* - * a delay() callback that processes MAVLink packets. We set this as the - * callback in long running library initialisation routines to allow - * MAVLink to process packets while waiting for the initialisation to - * complete - */ MAV_RESULT GCS_MAVLINK_Sub::handle_flight_termination(const mavlink_command_long_t &packet) { if (packet.param1 > 0.5f) { sub.arming.disarm(AP_Arming::Method::TERMINATION);