diff --git a/esphome/core/scheduler.h b/esphome/core/scheduler.h index 20e9f8b49b..613053dec6 100644 --- a/esphome/core/scheduler.h +++ b/esphome/core/scheduler.h @@ -551,9 +551,9 @@ class Scheduler { // Single-threaded: no concurrent writers, direct check is safe return this->to_add_.empty(); #else - // Multi-threaded without atomics: must take lock; always indicate "not empty" - // so the caller does not attempt a lock-free path. - return false; + // Multi-threaded without atomics: must take lock; always indicate "not empty" + // so the caller does not attempt a lock-free path. + return false; #endif }