mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: let GCS base class handle proximity and rangefinder messages
This commit is contained in:
parent
1db9201a90
commit
12cccac361
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user