Skip to content

Commit 2a6bbf5

Browse files
committed
Reformat
1 parent 543766f commit 2a6bbf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/esp8266/PolledTimeout.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ class timeoutTemplate
158158
bool expired()
159159
{
160160
bool hasExpired = PeriodicT ? expiredRetrigger() : expiredOneShot();
161-
if (!hasExpired) YieldPolicyT::execute(); //in case of DoNothing: gets optimized away
161+
if (!hasExpired) //in case of DoNothing: gets optimized away
162+
YieldPolicyT::execute();
162163
return hasExpired;
163164
}
164165

0 commit comments

Comments
 (0)