From 628bc02bf1c4ce4bdcb1c2759f56e2165328f04a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 12:42:16 +1100 Subject: [PATCH] ArduPlane: save bytes when AP_AIS_ENABLED is false --- ArduPlane/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 6fe2cc70a9..30a8e476b2 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -690,7 +690,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[] = {