We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b314e commit 3ce09a7Copy full SHA for 3ce09a7
cores/esp8266/Schedule.cpp
@@ -169,8 +169,9 @@ void run_scheduled_recurrent_functions ()
169
const bool wakeupToken = current->wakeupToken && current->wakeupToken->load();
170
const bool wakeup = current->wakeupTokenCmp != wakeupToken;
171
if (wakeup) current->wakeupTokenCmp = wakeupToken;
172
+ bool callNow = current->callNow;
173
- if ((wakeup || current->callNow) && !current->mFunc())
174
+ if ((wakeup || callNow) && !current->mFunc())
175
{
176
// remove function from stack
177
esp8266::InterruptLock lockAllInterruptsInThisScope;
0 commit comments