ArduSub: remove comment for already-removed in-delay-callback function

These are now attached to completely unrelated functions, which is
pretty bad.
This commit is contained in:
Peter Barker 2020-04-16 15:18:37 +10:00 committed by Randy Mackay
parent f5f4576835
commit 33f00c0051
1 changed files with 0 additions and 7 deletions

View File

@ -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);