1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

main: boot debug app earlier

This commit is contained in:
Jan Pochyla 2016-12-15 12:36:55 +01:00
parent 8811814867
commit 3f657775e9

View File

@ -4,18 +4,20 @@ from trezor import ui
from trezor import wire
# Load all applications
if __debug__:
from apps import debug
from apps import homescreen
from apps import management
from apps import wallet
from apps import ethereum
from apps import debug
# Initialize all applications
if __debug__:
debug.boot()
homescreen.boot()
management.boot()
wallet.boot()
ethereum.boot()
debug.boot()
# Change backlight to white for better visibility
ui.display.backlight(ui.BACKLIGHT_NORMAL)