Update async keyboard code
... per https://github.com/adafruit/circuitpython/issues/8412 Otherwise this is incompatible with both 8.x and 9.
This commit is contained in:
parent
f55e7cedd0
commit
4c2af96047
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class AsyncEventQueue:
|
|||
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue