From b9dcd5949ddc96fcd0084db654630ef9ff955dce Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 22 Sep 2024 11:53:03 -0500 Subject: [PATCH] Blimp: only send airspeed when enabled Avoids debug message spam about sending an unknown message. --- Blimp/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index c5f6f4f1f7..763133f76e 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -315,7 +315,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,