From 59315836f283cf8eb56f7fea7cdcf0f79b3799e9 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Thu, 19 Nov 2020 23:01:45 +0100 Subject: [PATCH] schedule_recurrent_function_us should be in iram (#7713) --- cores/esp8266/Schedule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/esp8266/Schedule.cpp b/cores/esp8266/Schedule.cpp index 5ac887ce1..b1230ed67 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) {