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 ab43f79 commit 030f8c1Copy full SHA for 030f8c1
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