mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 01:28:39 +00:00
[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user