More disables

This commit is contained in:
Ben Meadors
2022-12-29 18:48:33 -06:00
parent 110c80d045
commit c7c5671cca
5 changed files with 5 additions and 11 deletions

View File

@@ -67,8 +67,7 @@ int32_t EnvironmentTelemetryModule::runOnce()
if (!(moduleConfig.telemetry.environment_measurement_enabled ||
moduleConfig.telemetry.environment_screen_enabled)) {
// If this module is not enabled, and the user doesn't want the display screen don't waste any OSThread time on it
enabled = false;
return result;
return disable();
}
if (firstTime) {