mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 18:00:59 +00:00
fix typo
This commit is contained in:
parent
62e8b57ccf
commit
a8a68ca5fc
@ -48,7 +48,7 @@ class HidTransport(Transport):
|
||||
devices.setdefault(serial_number, [None, None])
|
||||
if interface_number == 0: # normal link
|
||||
devices[serial_number][0] = path
|
||||
elif interface_number == 1: # normal link
|
||||
elif interface_number == 1: # debug link
|
||||
devices[serial_number][1] = path
|
||||
else:
|
||||
raise Exception("Unknown USB interface number: %d" % interface_number)
|
||||
|
Loading…
Reference in New Issue
Block a user