1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00

fix(legacy): allow DebugLinkGetState while waiting for passphrase

This commit is contained in:
matejcik 2022-02-14 13:34:03 +01:00 committed by matejcik
parent 69eb09580d
commit 45e5c18f06

View File

@ -404,6 +404,12 @@ bool protectPassphrase(char *passphrase) {
msg_tiny_id = 0xFFFF; msg_tiny_id = 0xFFFF;
break; break;
} }
#if DEBUG_LINK
if (msg_tiny_id == MessageType_MessageType_DebugLinkGetState) {
msg_tiny_id = 0xFFFF;
fsm_msgDebugLinkGetState((DebugLinkGetState *)msg_tiny);
}
#endif
} }
usbTiny(0); usbTiny(0);
layoutHome(); layoutHome();