1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-21 18:45:42 +00:00
This commit is contained in:
tychovrahe 2025-03-12 03:14:05 +01:00
parent caacadc3d0
commit 0e3a7f43a4
2 changed files with 3 additions and 2 deletions

View File

@ -30,9 +30,9 @@ PRODUCTION ?= 0
PYOPT ?= 1
BITCOIN_ONLY ?= 0
BOOTLOADER_QA ?= 0
BOOTLOADER_DEVEL ?= 0
BOOTLOADER_DEVEL ?= 1
DISABLE_OPTIGA ?= 0
TREZOR_MODEL ?= T2T1
TREZOR_MODEL ?= T3W1
TREZOR_MEMPERF ?= 0
ADDRESS_SANITIZER ?= 0
CMAKELISTS ?= 0

View File

@ -136,6 +136,7 @@ class UdpTransport(ProtocolBasedTransport):
return resp == b"PONGPONG"
def write_chunk(self, chunk: bytes) -> None:
time.sleep(0.0001)
assert self.socket is not None
if len(chunk) != 64:
raise TransportException("Unexpected data length")