mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
GCS_MAVLink: cope with polyfence holding boundary points
This commit is contained in:
parent
5fe16d5250
commit
74aed5aef8
@ -31,7 +31,7 @@ void GCS_MAVLINK::handle_fence_message(const mavlink_message_t &msg)
|
|||||||
switch (msg.msgid) {
|
switch (msg.msgid) {
|
||||||
case MAVLINK_MSG_ID_FENCE_POINT:
|
case MAVLINK_MSG_ID_FENCE_POINT:
|
||||||
case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
|
case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
|
||||||
fence->handle_msg(*this, msg);
|
fence->polyfence().handle_msg(*this, msg);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
|
Loading…
Reference in New Issue
Block a user