mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
GCS_MAVLink: Rally: correct mission_type in mission_item_int conversion
This commit is contained in:
parent
69e3d59eb9
commit
e19636e4ad
@ -143,6 +143,7 @@ bool MissionItemProtocol_Rally::get_item_as_mission_item(uint16_t seq,
|
|||||||
ret_packet.x = rallypoint.lat;
|
ret_packet.x = rallypoint.lat;
|
||||||
ret_packet.y = rallypoint.lng;
|
ret_packet.y = rallypoint.lng;
|
||||||
ret_packet.z = rallypoint.alt;
|
ret_packet.z = rallypoint.alt;
|
||||||
|
ret_packet.mission_type = MAV_MISSION_TYPE_RALLY;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user