Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6456d0

Browse filesBrowse files
committed
Fix "reverse notation return statement"
1 parent 210c3d4 commit a6456d0
Copy full SHA for a6456d0

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cores/esp8266/PolledTimeout.h

Copy file name to clipboardExpand all lines: cores/esp8266/PolledTimeout.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class timeoutTemplate
272272
bool expiredOneShot()
273273
{
274274
// returns "always expired" or "has expired"
275-
return !canWait();
275+
if (!canWait()) return true;
276276
if (checkExpired(TimePolicyT::time()))
277277
{
278278
_timeout = alwaysExpired;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.