Skip to content

Commit 5931583

Browse files
authored
schedule_recurrent_function_us should be in iram (#7713)
1 parent eec4dc4 commit 5931583

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp8266/Schedule.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ bool schedule_function(const std::function<void(void)>& fn)
102102
return true;
103103
}
104104

105+
IRAM_ATTR // (not only) called from ISR
105106
bool schedule_recurrent_function_us(const std::function<bool(void)>& fn,
106107
uint32_t repeat_us, const std::function<bool(void)>& alarm)
107108
{

0 commit comments

Comments
 (0)