mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
fix(legacy): allow DebugLinkGetState while waiting for passphrase
This commit is contained in:
parent
69eb09580d
commit
45e5c18f06
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user