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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy