From 3f657775e97f5b1ae368b3f081e3e5343d1c7256 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Thu, 15 Dec 2016 12:36:55 +0100 Subject: [PATCH] main: boot debug app earlier --- src/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index bf794793ef..506230c743 100644 --- a/src/main.py +++ b/src/main.py @@ -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)