From b1944601ef81fe7219530ccb98969cc791bce65a Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 9 Jun 2026 23:00:13 +0200 Subject: [PATCH] scheduler loop is no longer async --- src/core/emsesp.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/emsesp.cpp b/src/core/emsesp.cpp index 1fafe85d2..582e94fdd 100644 --- a/src/core/emsesp.cpp +++ b/src/core/emsesp.cpp @@ -1858,9 +1858,7 @@ void EMSESP::loop() { publish_all_loop(); // with HA messages in parts to avoid flooding the MQTT queue mqtt_.loop(); // sends out anything in the MQTT queue webModulesService.loop(); // loop through the external library modules - if (system_.PSram() == 0) { // run non-async if there is no PSRAM available - webSchedulerService.loop(); - } + webSchedulerService.loop(); // scheduler timing logic; command execution is offloaded to WebCommandService's worker task scheduled_fetch_values(); // force a query on the EMS devices to fetch latest data at a set interval (1 min) } // check for GPIO Errors - this is called once when booting