1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-18 19:22:22 +01:00

Update esphome/core/scheduler.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-09-06 23:27:14 -05:00
committed by GitHub
parent 4a9cfeddcd
commit 98f7ae93db

View File

@@ -474,7 +474,7 @@ void HOT Scheduler::call(uint32_t now) {
this->to_add_.push_back(std::move(item));
}
added_items |= this->to_add_.empty() == false;
added_items |= !this->to_add_.empty();
}
}