mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Sub: Send all distance sensors
This commit is contained in:
parent
033a8ec4d5
commit
5393337dfa
@ -562,8 +562,7 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
|
||||
#if RANGEFINDER_ENABLED == ENABLED
|
||||
CHECK_PAYLOAD_SIZE(RANGEFINDER);
|
||||
send_rangefinder_downward(sub.rangefinder);
|
||||
CHECK_PAYLOAD_SIZE(DISTANCE_SENSOR);
|
||||
send_distance_sensor_downward(sub.rangefinder);
|
||||
send_distance_sensor(sub.rangefinder);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user