From 98d6e365d7fc68f6b375ed7af6734f993757e437 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Oct 2023 15:24:00 +1100 Subject: [PATCH] Rover: tidy use of GPS mavlink defines --- Rover/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rover/GCS_Mavlink.cpp b/Rover/GCS_Mavlink.cpp index b8809818ae..2f691f01d9 100644 --- a/Rover/GCS_Mavlink.cpp +++ b/Rover/GCS_Mavlink.cpp @@ -528,8 +528,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,