Skip to content

Commit 4c2af96

Browse files
committed
Update async keyboard code
... per adafruit/circuitpython#8412 Otherwise this is incompatible with both 8.x and 9.
1 parent f55e7ce commit 4c2af96

File tree

1 file changed

+1
-1
lines changed
  • CircuitPython_Commodore_16_KB2040/advanced

1 file changed

+1
-1
lines changed

CircuitPython_Commodore_16_KB2040/advanced/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def __init__(self, events):
142142
self._events = events
143143

144144
async def __await__(self):
145-
yield asyncio.core._io_queue.queue_read(self._events)
145+
await asyncio.core._io_queue.queue_read(self._events)
146146
return self._events.get()
147147

148148
def __enter__(self):

0 commit comments

Comments
 (0)