GCS_MAVLink: Rally: correct mission_type in mission_item_int conversion

This commit is contained in:
Peter Barker 2024-11-21 10:26:21 +11:00 committed by Andrew Tridgell
parent e50f498236
commit 49a0651211
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }