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 9c83f9a commit 4cbe06bCopy full SHA for 4cbe06b
cores/esp8266/PolledTimeout.h
@@ -159,7 +159,8 @@ class timeoutTemplate
159
bool expired()
160
{
161
bool hasExpired = PeriodicT ? expiredRetrigger() : expiredOneShot();
162
- if (!hasExpired) YieldPolicyT::execute(); //in case of DoNothing: gets optimized away
+ if (!hasExpired) //in case of DoNothing: gets optimized away
163
+ YieldPolicyT::execute();
164
return hasExpired;
165
}
166
0 commit comments