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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user