AntennaTracker: only send airspeed when enabled

Avoids debug message spam about sending an unknown message.
This commit is contained in:
Thomas Watson 2024-09-22 11:53:03 -05:00 committed by Peter Barker
parent 44c1e9b896
commit 299d3a6a06
1 changed files with 2 additions and 0 deletions

View File

@ -264,7 +264,9 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
MSG_SCALED_PRESSURE,
MSG_SCALED_PRESSURE2,
MSG_SCALED_PRESSURE3,
#if AP_AIRSPEED_ENABLED
MSG_AIRSPEED,
#endif
};
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_SYS_STATUS,