Blimp: 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 1a08590bb1
commit b9dcd5949d
1 changed files with 2 additions and 0 deletions

View File

@ -315,7 +315,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,