ArduCopter: 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 d665d2c56e
commit 20563bf58d
1 changed files with 2 additions and 0 deletions

View File

@ -569,7 +569,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[] = {