Fix screen on secs (#1673)

* Fix screen on secs

* getIntervalOrDefaultMs

* Display correction

* Paren
This commit is contained in:
Ben Meadors
2022-09-03 22:10:11 -05:00
committed by GitHub
co-authored by GitHub
parent 84e438f72f
commit 285ba9639e
4 changed files with 17 additions and 17 deletions
@@ -97,7 +97,7 @@ int32_t EnvironmentTelemetryModule::runOnce()
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
}
}
return getIntervalOrDefaultMs(moduleConfig.telemetry.environment_update_interval);
return getConfiguredOrDefaultMs(moduleConfig.telemetry.environment_update_interval);
#endif
}