Browse Source

Sub: move handling of fence point handling up

mission-4.1.18
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
0c8f0377ca
  1. 8
      ArduSub/GCS_Mavlink.cpp

8
ArduSub/GCS_Mavlink.cpp

@ -997,14 +997,6 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg) @@ -997,14 +997,6 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
break;
}
#if AC_FENCE == ENABLED
// send or receive fence points with GCS
case MAVLINK_MSG_ID_FENCE_POINT: // MAV ID: 160
case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
sub.fence.handle_msg(*this, msg);
break;
#endif // AC_FENCE == ENABLED
case MAVLINK_MSG_ID_TERRAIN_DATA:
case MAVLINK_MSG_ID_TERRAIN_CHECK:
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN

Loading…
Cancel
Save