1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

trezor.msg: support new modtrezormsg API

This commit is contained in:
Jan Pochyla 2017-04-20 16:33:44 +02:00
parent afaefb7a13
commit 403d5344e2

View File

@ -1,14 +1,10 @@
from TrezorMsg import Msg
from TrezorMsg import Msg, USB, HID, VCP
_msg = Msg()
def set_interfaces(ifaces):
return _msg.set_interfaces(ifaces)
def get_interfaces():
return _msg.get_interfaces()
def init_usb(usb, ifaces):
return _msg.init_usb(usb, ifaces)
def select(timeout_us):