From 159b71cee81e9cdeaa438a2e345b61b781b6d67e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 12:42:16 +1100 Subject: [PATCH] Blimp: save bytes when AP_AIS_ENABLED is false --- Blimp/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index 21096c5bfd..2e5c088990 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -374,7 +374,9 @@ static const ap_message STREAM_PARAMS_msgs[] = { }; static const ap_message STREAM_ADSB_msgs[] = { MSG_ADSB_VEHICLE, +#if AP_AIS_ENABLED MSG_AIS_VESSEL, +#endif }; const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = {