Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored Oct 28, 2024
1 parent 84fd99b commit 22fcf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gps/GPSUpdateScheduling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool GPSUpdateScheduling::isUpdateDue()
bool GPSUpdateScheduling::searchedTooLong()
{
uint32_t minimumOrConfiguredSecs = Default::getConfiguredOrMinimumValue(
moduleConfig.position.position_broadcast_secs, default_broadcast_interval_secs);
config.position.position_broadcast_secs, default_broadcast_interval_secs);
uint32_t maxSearchMs =
Default::getConfiguredOrDefaultMs(minimumOrConfiguredSecs, default_broadcast_interval_secs);
// If broadcast interval set to max, no such thing as "too long"
Expand Down

0 comments on commit 22fcf77

Please sign in to comment.