mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Rover: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false
This commit is contained in:
parent
a1c53c80a4
commit
83f28c52c5
@ -568,7 +568,9 @@ static const ap_message STREAM_EXTRA2_msgs[] = {
|
|||||||
static const ap_message STREAM_EXTRA3_msgs[] = {
|
static const ap_message STREAM_EXTRA3_msgs[] = {
|
||||||
MSG_AHRS,
|
MSG_AHRS,
|
||||||
MSG_WIND,
|
MSG_WIND,
|
||||||
|
#if AP_RANGEFINDER_ENABLED
|
||||||
MSG_RANGEFINDER,
|
MSG_RANGEFINDER,
|
||||||
|
#endif
|
||||||
MSG_DISTANCE_SENSOR,
|
MSG_DISTANCE_SENSOR,
|
||||||
MSG_SYSTEM_TIME,
|
MSG_SYSTEM_TIME,
|
||||||
#if AP_BATTERY_ENABLED
|
#if AP_BATTERY_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user