mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduCopter: only send airspeed when enabled
Avoids debug message spam about sending an unknown message.
This commit is contained in:
parent
299d3a6a06
commit
873fe1df82
@ -503,7 +503,9 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
|
|||||||
MSG_SCALED_PRESSURE,
|
MSG_SCALED_PRESSURE,
|
||||||
MSG_SCALED_PRESSURE2,
|
MSG_SCALED_PRESSURE2,
|
||||||
MSG_SCALED_PRESSURE3,
|
MSG_SCALED_PRESSURE3,
|
||||||
|
#if AP_AIRSPEED_ENABLED
|
||||||
MSG_AIRSPEED,
|
MSG_AIRSPEED,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
|
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
|
||||||
MSG_SYS_STATUS,
|
MSG_SYS_STATUS,
|
||||||
|
Loading…
Reference in New Issue
Block a user