ArduPlane: save bytes when AP_AIS_ENABLED is false

This commit is contained in:
Peter Barker 2023-10-25 12:42:16 +11:00 committed by Peter Barker
parent 20563bf58d
commit 628bc02bf1

View File

@ -690,7 +690,9 @@ static const ap_message STREAM_PARAMS_msgs[] = {
}; };
static const ap_message STREAM_ADSB_msgs[] = { static const ap_message STREAM_ADSB_msgs[] = {
MSG_ADSB_VEHICLE, MSG_ADSB_VEHICLE,
#if AP_AIS_ENABLED
MSG_AIS_VESSEL, MSG_AIS_VESSEL,
#endif
}; };
const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = { const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = {