mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: only send airspeed when enabled
Avoids debug message spam about sending an unknown message.
This commit is contained in:
parent
873fe1df82
commit
1d4c181d17
|
@ -614,7 +614,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