We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2a373e commit b5018feCopy full SHA for b5018fe
core/src/session.py
@@ -18,10 +18,19 @@
18
utils.RESTART_MAIN_LOOP = False
19
20
21
+async def flush_fido_buffer():
22
+ from trezor import io
23
+
24
+ while True:
25
+ await loop.wait(io.SPI_FIDO_FACE | io.POLL_READ)
26
27
28
if not utils.BITCOIN_ONLY and usb.ENABLE_IFACE_WEBAUTHN:
29
import apps.webauthn
30
31
apps.webauthn.boot()
32
+else:
33
+ loop.schedule(flush_fido_buffer())
34
35
if __debug__:
36
import apps.debug
0 commit comments