mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: Fence: correct mission_type in mission_item_int conversion
This commit is contained in:
parent
86fef47dc2
commit
69e3d59eb9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue