1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 11:39:03 +00:00

wip trezorlib usb-reset to new WebUsb

This commit is contained in:
M1nd3r 2024-09-13 11:54:56 +02:00
parent 06120d7fd7
commit 9942f06b11

View File

@ -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)