From d0c39d95ade5024e9f2f00bf75a4b35cab3ab874 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 12:02:06 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- esphome/core/scheduler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }