Sub: remove global static send_statustext_chan

This commit is contained in:
Peter Barker 2017-07-09 18:32:02 +10:00 committed by Francisco Ferreira
parent 8a1fc6a406
commit 2fde428890

View File

@ -1605,7 +1605,7 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
// send or receive fence points with GCS // send or receive fence points with GCS
case MAVLINK_MSG_ID_FENCE_POINT: // MAV ID: 160 case MAVLINK_MSG_ID_FENCE_POINT: // MAV ID: 160
case MAVLINK_MSG_ID_FENCE_FETCH_POINT: case MAVLINK_MSG_ID_FENCE_FETCH_POINT:
sub.fence.handle_msg(chan, msg); sub.fence.handle_msg(*this, msg);
break; break;
#endif // AC_FENCE == ENABLED #endif // AC_FENCE == ENABLED