diff --git a/cores/esp8266/Schedule.cpp b/cores/esp8266/Schedule.cpp index 5ac887ce10..b1230ed675 100644 --- a/cores/esp8266/Schedule.cpp +++ b/cores/esp8266/Schedule.cpp @@ -102,6 +102,7 @@ bool schedule_function(const std::function& fn) return true; } +IRAM_ATTR // (not only) called from ISR bool schedule_recurrent_function_us(const std::function& fn, uint32_t repeat_us, const std::function& alarm) {