Skip to content

Commit 3746fd4

Browse files
committed
Reformat
1 parent da95451 commit 3746fd4

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
@@ -159,7 +159,8 @@ class timeoutTemplate
159159
bool expired()
160160
{
161161
bool hasExpired = PeriodicT ? expiredRetrigger() : expiredOneShot();
162-
if (!hasExpired) YieldPolicyT::execute(); //in case of DoNothing: gets optimized away
162+
if (!hasExpired) //in case of DoNothing: gets optimized away
163+
YieldPolicyT::execute();
163164
return hasExpired;
164165
}
165166

0 commit comments

Comments
 (0)