mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Plane: Move MAVLink rangefinder up to parent
This commit is contained in:
parent
dc5fae9ea6
commit
499df8e0b3
@ -499,12 +499,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
||||
send_ahrs2();
|
||||
break;
|
||||
|
||||
case MSG_RANGEFINDER:
|
||||
CHECK_PAYLOAD_SIZE(RANGEFINDER);
|
||||
send_rangefinder_downward(plane.rangefinder);
|
||||
send_distance_sensor(plane.rangefinder);
|
||||
break;
|
||||
|
||||
case MSG_TERRAIN:
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
CHECK_PAYLOAD_SIZE(TERRAIN_REQUEST);
|
||||
|
Loading…
Reference in New Issue
Block a user