main: boot debug app earlier

This commit is contained in:
Jan Pochyla 2016-12-15 12:36:55 +01:00
parent 8811814867
commit 3f657775e9
1 changed files with 4 additions and 2 deletions

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)