Skip to content

Commit

Permalink
schedule_recurrent_function_us should be in iram (#7713)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored Nov 19, 2020
1 parent eec4dc4 commit 5931583
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp8266/Schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 5931583

Please sign in to comment.