Skip to content

Commit

Permalink
Copter: move handling of fence point handling up
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and rmackay9 committed Feb 8, 2019
1 parent 8244158 commit 47a0796
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,14 +1291,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
break;
#endif

#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:
copter.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
Expand Down

0 comments on commit 47a0796

Please sign in to comment.