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 4fc72c6 commit a355801Copy full SHA for a355801
uasyncio/uasyncio/__init__.py
@@ -55,10 +55,7 @@ def wait(self, delay):
55
if DEBUG and __debug__:
56
log.debug("poll.wait(%d)", delay)
57
# We need one-shot behavior (second arg of 1 to .poll())
58
- if delay == -1:
59
- res = self.poller.poll(-1, 1)
60
- else:
61
- res = self.poller.poll(delay, 1)
+ res = self.poller.poll(delay, 1)
62
#log.debug("poll result: %s", res)
63
# Remove "if res" workaround after
64
# https://github.com/micropython/micropython/issues/2716 fixed.
0 commit comments