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();
|
send_ahrs2();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSG_RANGEFINDER:
|
|
||||||
CHECK_PAYLOAD_SIZE(RANGEFINDER);
|
|
||||||
send_rangefinder_downward(plane.rangefinder);
|
|
||||||
send_distance_sensor(plane.rangefinder);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MSG_TERRAIN:
|
case MSG_TERRAIN:
|
||||||
#if AP_TERRAIN_AVAILABLE
|
#if AP_TERRAIN_AVAILABLE
|
||||||
CHECK_PAYLOAD_SIZE(TERRAIN_REQUEST);
|
CHECK_PAYLOAD_SIZE(TERRAIN_REQUEST);
|
||||||
|
Loading…
Reference in New Issue
Block a user