mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
schedule_recurrent_function_us should be in iram (#7713)
This commit is contained in:
parent
eec4dc490b
commit
59315836f2
@ -102,6 +102,7 @@ bool schedule_function(const std::function<void(void)>& fn)
|
||||
return true;
|
||||
}
|
||||
|
||||
IRAM_ATTR // (not only) called from ISR
|
||||
bool schedule_recurrent_function_us(const std::function<bool(void)>& fn,
|
||||
uint32_t repeat_us, const std::function<bool(void)>& alarm)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user