mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
main: delay usb start
This commit is contained in:
parent
a235a6b38b
commit
2e1a249845
@ -76,7 +76,6 @@ usb = io.USB(
|
||||
usb.add(usb_wire)
|
||||
usb.add(usb_vcp)
|
||||
usb.add(usb_u2f)
|
||||
usb.open()
|
||||
|
||||
# load applications
|
||||
from apps.common import storage
|
||||
@ -97,12 +96,13 @@ wallet.boot()
|
||||
ethereum.boot()
|
||||
fido_u2f.boot(usb_u2f)
|
||||
|
||||
# initialize the wire codec pipeline
|
||||
# initialize the wire codec and start the USB
|
||||
wire.setup(usb_wire)
|
||||
usb.open()
|
||||
|
||||
# load default homescreen
|
||||
from apps.homescreen.homescreen import layout_homescreen
|
||||
|
||||
# run main even loop and specify which screen is default
|
||||
workflow.startdefault(layout_homescreen)
|
||||
loop.run()
|
||||
loop.run()
|
||||
|
Loading…
Reference in New Issue
Block a user