1
0
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:
Roman Zeyde 2025-02-06 10:24:20 +02:00
parent abb1d59843
commit e5b0b21296

View File

@ -637,7 +637,9 @@ class DebugLink:
decision.hold_ms += 200
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))
press_yes = _make_input_func(button=messages.DebugButton.YES)