mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
Update variable in scheduler (#838)
Fixes https://github.com/esphome/issues/issues/826
This commit is contained in:
parent
a919b015b4
commit
b5af3aa048
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ uint32_t Scheduler::millis_() {
|
||||||
ESP_LOGD(TAG, "Incrementing scheduler major");
|
ESP_LOGD(TAG, "Incrementing scheduler major");
|
||||||
this->millis_major_++;
|
this->millis_major_++;
|
||||||
}
|
}
|
||||||
|
this->last_millis_ = now;
|
||||||
return now;
|
return now;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue