diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 770748e964..dbd0ca73a0 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -569,7 +569,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[] = {