From e19636e4ad45daa4f25c1efee65765897b4d7b1e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 21 Nov 2024 10:26:21 +1100 Subject: [PATCH] GCS_MAVLink: Rally: correct mission_type in mission_item_int conversion --- libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp b/libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp index ee33e55188..ca33979c3e 100644 --- a/libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp +++ b/libraries/GCS_MAVLink/MissionItemProtocol_Rally.cpp @@ -143,6 +143,7 @@ bool MissionItemProtocol_Rally::get_item_as_mission_item(uint16_t seq, ret_packet.x = rallypoint.lat; ret_packet.y = rallypoint.lng; ret_packet.z = rallypoint.alt; + ret_packet.mission_type = MAV_MISSION_TYPE_RALLY; return true; }