Skip to content

Commit

Permalink
Sub: move handling of fence point handling up
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Feb 4, 2019
1 parent f03ec25 commit 2661647
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ArduSub/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,14 +1050,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
Expand Down

0 comments on commit 2661647

Please sign in to comment.