From f60c263fb17f1f3b1ccdb7c8cfee70899de1218f Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Wed, 3 Apr 2024 15:40:26 +0200 Subject: [PATCH] chore(core): improve debug log of sync bits --- core/src/trezor/wire/thp/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/trezor/wire/thp/channel.py b/core/src/trezor/wire/thp/channel.py index e6258ba74..febadbc4d 100644 --- a/core/src/trezor/wire/thp/channel.py +++ b/core/src/trezor/wire/thp/channel.py @@ -397,7 +397,7 @@ class Channel(Context): while True: print( "channel._write_encrypted_payload_loop - loop start, sync_bit:", - header.ctrl_byte & 0x10, + (header.ctrl_byte & 0x10) >> 4, " sync_send_bit:", THP.sync_get_send_bit(self.channel_cache), )