mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
This commit is contained in:
parent
cd0f3e144a
commit
d086ba03c8
|
@ -544,7 +544,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
|
|||
MSG_AHRS,
|
||||
MSG_SYSTEM_TIME,
|
||||
MSG_WIND,
|
||||
#if AP_RANGEFINDER_ENABLED
|
||||
MSG_RANGEFINDER,
|
||||
#endif
|
||||
MSG_DISTANCE_SENSOR,
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
MSG_TERRAIN,
|
||||
|
|
Loading…
Reference in New Issue