Skip to content

Commit

Permalink
No need to check provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Jul 9, 2024
1 parent e8fd649 commit e6e903a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/io/gps_ublox.c
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ STATIC_PROTOTHREAD(gpsProtocolStateThread)
ptSemaphoreWait(semNewDataReady);
gpsProcessNewSolutionData(false);

if ((gpsState.gpsConfig->autoConfig) && (gpsState.gpsConfig->provider == GPS_UBLOX)) {
if (gpsState.gpsConfig->autoConfig) {
if ((millis() - gpsState.lastCapaPoolMs) > GPS_CAPA_INTERVAL) {
gpsState.lastCapaPoolMs = millis();

Expand Down

0 comments on commit e6e903a

Please sign in to comment.