AP_GPS: correct uBlox M10 configuration on minimised boards

This commit is contained in:
Peter Barker 2023-11-07 17:12:11 +11:00 committed by Andrew Tridgell
parent 3e19cf19b8
commit 936e0ab1be
1 changed files with 1 additions and 2 deletions

View File

@ -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 int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const
{ {
#if GPS_MOVING_BASELINE
if (active_config.list == nullptr) { if (active_config.list == nullptr) {
return -1; return -1;
} }
@ -940,7 +939,7 @@ int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const
return (int8_t)i; return (int8_t)i;
} }
} }
#endif
return -1; return -1;
} }