1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-03 04:58:25 +00:00
trezor-firmware/core/src/storage/debug.py

17 lines
323 B
Python
Raw Normal View History

from trezorutils import halt
if not __debug__:
halt("Debugging is disabled")
if __debug__:
save_screen = False
save_screen_directory = "."
current_content: list[str] = [""] * 20
current_content.clear()
watch_layout_changes = False
layout_watcher = 0
reset_internal_entropy: bytes = b""