Improve ESP8266 iram usage (#3223)

This commit is contained in:
Otto Winter 2022-02-19 15:09:17 +01:00 committed by Jesse Hills
parent 616c787e37
commit 1d0395d1c7
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -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();