GCS_MAVLink: Fence: correct mission_type in mission_item_int conversion

This commit is contained in:
Peter Barker 2024-11-21 10:26:05 +11:00 committed by Peter Barker
parent 86fef47dc2
commit 69e3d59eb9
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ bool MissionItemProtocol_Fence::get_item_as_mission_item(uint16_t seq,
ret_packet.x = fenceitem.loc.x;
ret_packet.y = fenceitem.loc.y;
ret_packet.z = 0;
ret_packet.mission_type = MAV_MISSION_TYPE_FENCE;
return true;
}