1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 07:48:10 +00:00
trezor-firmware/src/apps/homescreen/__init__.py

18 lines
396 B
Python
Raw Normal View History

from trezor.dispatcher import register
from trezor.utils import unimport_func
@unimport_func
def dispatch_Initialize(mtype, mbuf):
from trezor.messages.Initialize import Initialize
message = Initialize.loads(mbuf)
from .layout_homescreen import layout_homescreen
return layout_homescreen(message)
2016-04-28 21:43:34 +00:00
def boot():
Initialize = 0
register(Initialize, dispatch_Initialize)