From 5006242da0cdf7990e50eb2a6c1cb68d87faad12 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 15:23:59 +1100 Subject: [PATCH] ArduSub: tidy use of GPS mavlink defines --- ArduSub/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 15d4c4621a..9e8d732285 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -351,8 +351,10 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = { MSG_CURRENT_WAYPOINT, MSG_GPS_RAW, MSG_GPS_RTK, +#if GPS_MAX_RECEIVERS > 1 MSG_GPS2_RAW, MSG_GPS2_RTK, +#endif MSG_NAV_CONTROLLER_OUTPUT, #if AP_FENCE_ENABLED MSG_FENCE_STATUS,