mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
ArduPlane: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
This commit is contained in:
parent
2a532d4e0f
commit
dea761ccdd
@ -675,7 +675,9 @@ static const ap_message STREAM_EXTRA2_msgs[] = {
|
||||
static const ap_message STREAM_EXTRA3_msgs[] = {
|
||||
MSG_AHRS,
|
||||
MSG_WIND,
|
||||
#if AP_RANGEFINDER_ENABLED
|
||||
MSG_RANGEFINDER,
|
||||
#endif
|
||||
MSG_DISTANCE_SENSOR,
|
||||
MSG_SYSTEM_TIME,
|
||||
#if AP_TERRAIN_AVAILABLE
|
||||
|
Loading…
Reference in New Issue
Block a user