From 394dc55fc6d0fa20bbc139f24c26dfd45cb05a5f Mon Sep 17 00:00:00 2001 From: david gauchard Date: Thu, 19 Nov 2020 22:48:42 +0100 Subject: [PATCH] schedule_recurrent_function_us should be in iram --- cores/esp8266/Schedule.cpp | 1 + 1 file changed, 1 insertion(+) 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) {