summaryrefslogtreecommitdiff
path: root/extmod/uasyncio/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/uasyncio/event.py')
-rw-r--r--extmod/uasyncio/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extmod/uasyncio/event.py b/extmod/uasyncio/event.py
index 3b5e79d8f..1525bcf3a 100644
--- a/extmod/uasyncio/event.py
+++ b/extmod/uasyncio/event.py
@@ -23,7 +23,8 @@ class Event:
def clear(self):
self.state = False
- async def wait(self):
+ # async
+ def wait(self):
if not self.state:
# Event not set, put the calling task on the event's waiting queue
self.waiting.push(core.cur_task)