mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Plane: let GCS base class handle proximity and rangefinder messages
This commit is contained in:
parent
a56ab9136e
commit
1db9201a90
@ -1151,10 +1151,6 @@ void GCS_MAVLINK_Plane::handleMessage(const mavlink_message_t &msg)
|
||||
break;
|
||||
}
|
||||
|
||||
case MAVLINK_MSG_ID_DISTANCE_SENSOR:
|
||||
plane.rangefinder.handle_msg(msg);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_TERRAIN_DATA:
|
||||
case MAVLINK_MSG_ID_TERRAIN_CHECK:
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
|
Loading…
Reference in New Issue
Block a user