1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

Fix use of global buffer

This commit is contained in:
M1nd3r 2024-03-26 16:25:33 +01:00
parent 21fa5dc879
commit bb15aef35e

View File

@ -52,8 +52,8 @@ async def read_message(iface: WireInterface, buffer: utils.BufferType) -> Messag
def set_buffer(buffer):
global _BUFFER
_BUFFER = buffer
print(_BUFFER) # TODO remove
async def thp_main_loop(iface: WireInterface, is_debug_session=False):