mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-12 10:53:59 -04:00
GCS_MAVLink: Fence: correct mission_type in mission_item_int conversion
This commit is contained in:
parent
6c42ac7fca
commit
e50f498236
@ -66,6 +66,7 @@ bool MissionItemProtocol_Fence::get_item_as_mission_item(uint16_t seq,
|
|||||||
ret_packet.x = fenceitem.loc.x;
|
ret_packet.x = fenceitem.loc.x;
|
||||||
ret_packet.y = fenceitem.loc.y;
|
ret_packet.y = fenceitem.loc.y;
|
||||||
ret_packet.z = 0;
|
ret_packet.z = 0;
|
||||||
|
ret_packet.mission_type = MAV_MISSION_TYPE_FENCE;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user