Skip to content

Commit

Permalink
Copter: rely on magic COMMAND_INT transform for MAV_CMD_DO_PAUSE_CONT…
Browse files Browse the repository at this point in the history
…INUE
  • Loading branch information
peterbarker committed Aug 8, 2023
1 parent 13c83ee commit 3fd0886
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3fd0886

Please sign in to comment.