Skip to content

Commit

Permalink
Fixed double and missing Default class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mictronics committed Mar 19, 2024
1 parent 7261cf1 commit 0dd9ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gps/GPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ uint32_t GPS::getWakeTime() const
if (t == UINT32_MAX)
return t; // already maxint

return Default::Default::getConfiguredOrDefaultMs(t, default_broadcast_interval_secs);
return Default::getConfiguredOrDefaultMs(t, default_broadcast_interval_secs);
}

/** Get how long we should sleep between aqusition attempts in msecs
Expand All @@ -775,7 +775,7 @@ uint32_t GPS::getSleepTime() const
if (t == UINT32_MAX)
return t; // already maxint

return t * 1000;
return Default::getConfiguredOrDefaultMs(t, default_gps_update_interval);
}

void GPS::publishUpdate()
Expand Down

0 comments on commit 0dd9ce3

Please sign in to comment.