mirror of https://github.com/ArduPilot/ardupilot
Blimp: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
This commit is contained in:
parent
34d1004425
commit
2e9e63caf4
|
@ -357,7 +357,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
|
||||||
MSG_AHRS,
|
MSG_AHRS,
|
||||||
MSG_SYSTEM_TIME,
|
MSG_SYSTEM_TIME,
|
||||||
MSG_WIND,
|
MSG_WIND,
|
||||||
|
#if AP_RANGEFINDER_ENABLED
|
||||||
MSG_RANGEFINDER,
|
MSG_RANGEFINDER,
|
||||||
|
#endif
|
||||||
MSG_DISTANCE_SENSOR,
|
MSG_DISTANCE_SENSOR,
|
||||||
#if AP_BATTERY_ENABLED
|
#if AP_BATTERY_ENABLED
|
||||||
MSG_BATTERY_STATUS,
|
MSG_BATTERY_STATUS,
|
||||||
|
|
Loading…
Reference in New Issue