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 da95451 commit 3746fd4Copy full SHA for 3746fd4
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