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[] = {