From 17459b30dea59d5b7065c54f6d92d126efa6afea Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 15:23:59 +1100 Subject: [PATCH] AntennaTracker: tidy use of GPS mavlink defines --- AntennaTracker/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index d38d8af775..590b40e0ac 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -279,8 +279,10 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = { MSG_NAV_CONTROLLER_OUTPUT, MSG_GPS_RAW, MSG_GPS_RTK, +#if GPS_MAX_RECEIVERS > 1 MSG_GPS2_RAW, MSG_GPS2_RTK, +#endif }; static const ap_message STREAM_POSITION_msgs[] = { MSG_LOCATION,