mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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:
parent
609b66a053
commit
18baf18041
@ -94,8 +94,6 @@ MAV_MISSION_RESULT MissionItemProtocol_Waypoints::get_item(const GCS_MAVLINK &_l
|
|||||||
// set auto continue to 1
|
// set auto continue to 1
|
||||||
ret_packet.autocontinue = 1; // 1 (true), 0 (false)
|
ret_packet.autocontinue = 1; // 1 (true), 0 (false)
|
||||||
|
|
||||||
ret_packet.command = cmd.id;
|
|
||||||
|
|
||||||
return MAV_MISSION_ACCEPTED;
|
return MAV_MISSION_ACCEPTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user