1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-19 16:49:02 +00:00

chore(core): add logging of iface number to thp_main_loop

This commit is contained in:
M1nd3r 2025-03-18 12:54:14 +01:00
parent 69e41c2d05
commit 731550ff8d

View File

@ -42,7 +42,7 @@ async def thp_main_loop(iface: WireInterface) -> None:
while True:
try:
if __debug__ and utils.ALLOW_DEBUG_MESSAGES:
log.debug(__name__, "thp_main_loop")
log.debug(__name__, "thp_main_loop %s", str(iface.iface_num()))
packet_len = await read
assert packet_len == len(packet)
iface.read(packet, 0)