Sub: let GCS base class handle proximity and rangefinder messages

This commit is contained in:
Peter Barker 2019-12-10 13:46:06 +11:00 committed by Andrew Tridgell
parent 1db9201a90
commit 12cccac361
1 changed files with 0 additions and 5 deletions

View File

@ -716,11 +716,6 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
break;
}
case MAVLINK_MSG_ID_DISTANCE_SENSOR: {
sub.rangefinder.handle_msg(msg);
break;
}
case MAVLINK_MSG_ID_TERRAIN_DATA:
case MAVLINK_MSG_ID_TERRAIN_CHECK:
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN