mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
trezor.msg: support new modtrezormsg API
This commit is contained in:
parent
afaefb7a13
commit
403d5344e2
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user