mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
Improve ESP8266 iram usage (#3223)
This commit is contained in:
parent
34c9d8be50
commit
d2b209234f
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ optional<uint32_t> HOT Scheduler::next_schedule_in() {
|
||||||
return 0;
|
return 0;
|
||||||
return next_time - now;
|
return next_time - now;
|
||||||
}
|
}
|
||||||
void IRAM_ATTR HOT Scheduler::call() {
|
void HOT Scheduler::call() {
|
||||||
const uint32_t now = this->millis_();
|
const uint32_t now = this->millis_();
|
||||||
this->process_to_add();
|
this->process_to_add();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue