1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
trezor-firmware/src/trezor/msg.py

20 lines
284 B
Python

from TrezorMsg import Msg
_msg = Msg()
def set_interfaces(ifaces):
return _msg.set_interfaces(ifaces)
def get_interfaces():
return _msg.get_interfaces()
def select(timeout_us):
return _msg.select(timeout_us)
def send(iface, msg):
return _msg.send(iface, msg)