diff --git a/CircuitPython_Commodore_16_KB2040/advanced/code.py b/CircuitPython_Commodore_16_KB2040/advanced/code.py index c26f3c263..ca037f678 100644 --- a/CircuitPython_Commodore_16_KB2040/advanced/code.py +++ b/CircuitPython_Commodore_16_KB2040/advanced/code.py @@ -142,7 +142,7 @@ def __init__(self, events): self._events = events async def __await__(self): - yield asyncio.core._io_queue.queue_read(self._events) + await asyncio.core._io_queue.queue_read(self._events) return self._events.get() def __enter__(self):