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:
parent
69e41c2d05
commit
731550ff8d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user