From 3fd08865745fb651604f746135d8b3f9ea0bcf70 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 8 Aug 2023 18:44:39 +1000 Subject: [PATCH] Copter: rely on magic COMMAND_INT transform for MAV_CMD_DO_PAUSE_CONTINUE --- ArduCopter/GCS_Mavlink.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 4720c88c1d..2ed967c519 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -1003,12 +1003,6 @@ MAV_RESULT GCS_MAVLINK_Copter::handle_command_long_packet(const mavlink_command_ return MAV_RESULT_ACCEPTED; } - // pause or resume an auto mission - case MAV_CMD_DO_PAUSE_CONTINUE: { - mavlink_command_int_t packet_int; - GCS_MAVLINK_Copter::convert_COMMAND_LONG_to_COMMAND_INT(packet, packet_int); - return handle_command_pause_continue(packet_int); - } default: return GCS_MAVLINK::handle_command_long_packet(packet); }