8000 Somewhat easier on the human reader. · dok-net/arduino-esp8266@c808a1a · GitHub
[go: up one dir, main page]

Skip to content

Commit c808a1a

Browse files
committed
Somewhat easier on the human reader.
1 parent 292c7cc commit c808a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/PolledTimeout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class timeoutTemplate
176176

177177
bool canWait () const
178178
{
179-
return _timeout != 0 && !_oneShotExpired;
179+
return !(_timeout == 0 || _oneShotExpired);
180180
}
181181

182182
// Resets, will trigger after this new timeout.

0 commit comments

Comments
 (0)
0