From 403d5344e2287b992ba37dc49ff6c766c474d82a Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Thu, 20 Apr 2017 16:33:44 +0200 Subject: [PATCH] trezor.msg: support new modtrezormsg API --- src/trezor/msg.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/trezor/msg.py b/src/trezor/msg.py index d89b99f331..15eb22c46a 100644 --- a/src/trezor/msg.py +++ b/src/trezor/msg.py @@ -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):