Skip to content

Commit f23570e

Browse files
authored
fix(fingerprint): exit fingerprint task after device unlock. (#347)
1 parent 0104af2 commit f23570e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/trezor/uart.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ async def handle_fingerprint():
8686
if __debug__:
8787
print(f"state == {state}")
8888

89+
if fingerprints.is_unlocked():
90+
return
91+
8992
try:
9093
detected = fingerprint.detect()
9194
if detected:

0 commit comments

Comments
 (0)