Browse Source

Plane: let GCS base class handle proximity and rangefinder messages

c415-sdk
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
1db9201a90
  1. 4
      ArduPlane/GCS_Mavlink.cpp

4
ArduPlane/GCS_Mavlink.cpp

@ -1151,10 +1151,6 @@ void GCS_MAVLINK_Plane::handleMessage(const mavlink_message_t &msg) @@ -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…
Cancel
Save