Skip to content

Commit

Permalink
Fix regression on --usb parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
yrichard-ledger authored and lpascal-ledger committed Nov 12, 2024
1 parent 4b14235 commit a673c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speculos/mcu/seproxyhal.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def __init__(self,
self.socket_helper.wait_until_tick_is_processed)
self.time_ticker_thread.start()

usb_transport = transport if transport in ['hid', 'u2f'] else 'hid'
usb_transport = transport if transport.lower() in ['hid', 'u2f'] else 'hid'
self.usb = usb.USB(self.socket_helper.queue_packet, transport=usb_transport)

self.nfc = nfc.NFC(self.socket_helper.queue_packet)
Expand Down

0 comments on commit a673c1c

Please sign in to comment.