mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Copter: rely on magic COMMAND_INT transform for MAV_CMD_DO_PAUSE_CONTINUE
This commit is contained in:
parent
13c83ee9f8
commit
3fd0886574
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user