From af2d4b0fc572e23cbde994b9db92747da7cbf26a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 7 Nov 2023 17:12:11 +1100 Subject: [PATCH] AP_GPS: correct uBlox M10 configuration on minimised boards --- libraries/AP_GPS/AP_GPS_UBLOX.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS_UBLOX.cpp b/libraries/AP_GPS/AP_GPS_UBLOX.cpp index 9caa950c03..b29dbc2943 100644 --- a/libraries/AP_GPS/AP_GPS_UBLOX.cpp +++ b/libraries/AP_GPS/AP_GPS_UBLOX.cpp @@ -931,7 +931,6 @@ uint8_t AP_GPS_UBLOX::config_key_size(ConfigKey key) const */ int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const { -#if GPS_MOVING_BASELINE if (active_config.list == nullptr) { return -1; } @@ -940,7 +939,7 @@ int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const return (int8_t)i; } } -#endif + return -1; }