mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-08 14:31:06 +00:00
main: boot debug app earlier
This commit is contained in:
parent
8811814867
commit
3f657775e9
@ -4,18 +4,20 @@ from trezor import ui
|
|||||||
from trezor import wire
|
from trezor import wire
|
||||||
|
|
||||||
# Load all applications
|
# Load all applications
|
||||||
|
if __debug__:
|
||||||
|
from apps import debug
|
||||||
from apps import homescreen
|
from apps import homescreen
|
||||||
from apps import management
|
from apps import management
|
||||||
from apps import wallet
|
from apps import wallet
|
||||||
from apps import ethereum
|
from apps import ethereum
|
||||||
from apps import debug
|
|
||||||
|
|
||||||
# Initialize all applications
|
# Initialize all applications
|
||||||
|
if __debug__:
|
||||||
|
debug.boot()
|
||||||
homescreen.boot()
|
homescreen.boot()
|
||||||
management.boot()
|
management.boot()
|
||||||
wallet.boot()
|
wallet.boot()
|
||||||
ethereum.boot()
|
ethereum.boot()
|
||||||
debug.boot()
|
|
||||||
|
|
||||||
# Change backlight to white for better visibility
|
# Change backlight to white for better visibility
|
||||||
ui.display.backlight(ui.BACKLIGHT_NORMAL)
|
ui.display.backlight(ui.BACKLIGHT_NORMAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user