mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
wip trezorlib usb-reset to new WebUsb
This commit is contained in:
parent
06120d7fd7
commit
9942f06b11
@ -396,7 +396,7 @@ def usb_reset() -> None:
|
||||
This can fix LIBUSB_ERROR_PIPE and similar errors when connecting to a device
|
||||
in a messed state.
|
||||
"""
|
||||
from ..transport.webusb import WebUsbTransport
|
||||
from ..transport.new.webusb import WebUsbTransport
|
||||
|
||||
WebUsbTransport.enumerate(usb_reset=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user