Skip to content

Commit

Permalink
AP_GPS: correct uBlox M10 configuration on minimised boards
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 7, 2023
1 parent a288e58 commit 5b4237e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/AP_GPS/AP_GPS_UBLOX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,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;
}
Expand All @@ -939,7 +938,7 @@ int8_t AP_GPS_UBLOX::find_active_config_index(ConfigKey key) const
return (int8_t)i;
}
}
#endif

return -1;
}

Expand Down

0 comments on commit 5b4237e

Please sign in to comment.