1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

Fix use of global buffer

This commit is contained in:
M1nd3r 2024-03-26 16:25:33 +01:00
parent a9ab8b6f62
commit ea7180a43d

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):