GCS_MAVLink: Remove redundant assignment to the command

This is done internally by the conversion to mission_item_int_t
This commit is contained in:
Michael du Breuil 2020-03-27 19:34:32 -07:00 committed by Andrew Tridgell
parent 609b66a053
commit 18baf18041

View File

@ -94,8 +94,6 @@ MAV_MISSION_RESULT MissionItemProtocol_Waypoints::get_item(const GCS_MAVLINK &_l
// set auto continue to 1
ret_packet.autocontinue = 1; // 1 (true), 0 (false)
ret_packet.command = cmd.id;
return MAV_MISSION_ACCEPTED;
}