mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Fix scheduler
This commit is contained in:
@@ -33,11 +33,10 @@ class Scheduler {
|
||||
std::function<void()> f;
|
||||
bool remove;
|
||||
|
||||
bool operator<(const SchedulerItem &other) const;
|
||||
static bool cmp(SchedulerItem *a, SchedulerItem *b);
|
||||
};
|
||||
|
||||
void cleanup_();
|
||||
bool peek_();
|
||||
void pop_raw_();
|
||||
void push_(SchedulerItem *item);
|
||||
bool cancel_item_(Component *component, const std::string &name, SchedulerItem::Type type);
|
||||
|
||||
Reference in New Issue
Block a user