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:
parent
a9ab8b6f62
commit
ea7180a43d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user