mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-11 23:22:50 +00:00
fixup! test(core): don't fetch DebugLinkState
by default
This commit is contained in:
parent
abb1d59843
commit
e5b0b21296
@ -637,7 +637,9 @@ class DebugLink:
|
|||||||
decision.hold_ms += 200
|
decision.hold_ms += 200
|
||||||
|
|
||||||
self._write(decision)
|
self._write(decision)
|
||||||
# "Flush" the DebugLink queue, to be sure that `decision` has been processed.
|
if self.model is models.T1B1:
|
||||||
|
return
|
||||||
|
# When the call below returns, we know that `decision` has been processed in Core.
|
||||||
self._call(messages.DebugLinkGetState(return_empty_state=True))
|
self._call(messages.DebugLinkGetState(return_empty_state=True))
|
||||||
|
|
||||||
press_yes = _make_input_func(button=messages.DebugButton.YES)
|
press_yes = _make_input_func(button=messages.DebugButton.YES)
|
||||||
|
Loading…
Reference in New Issue
Block a user