Browse Source

GCS_MAVLink: cope with polyfence holding boundary points

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
74aed5aef8
  1. 2
      libraries/GCS_MAVLink/GCS_Fence.cpp

2
libraries/GCS_MAVLink/GCS_Fence.cpp

@ -31,7 +31,7 @@ void GCS_MAVLINK::handle_fence_message(const mavlink_message_t &msg) @@ -31,7 +31,7 @@ void GCS_MAVLINK::handle_fence_message(const mavlink_message_t &msg)
switch (msg.msgid) {
case MAVLINK_MSG_ID_FENCE_POINT:
case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
fence->handle_msg(*this, msg);
fence->polyfence().handle_msg(*this, msg);
break;
default:
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL

Loading…
Cancel
Save