tools/mpremote: Swap order of PID and VID in connect-list output.
Fixes issue #7481.
This commit is contained in:
parent
076caf317e
commit
d1decdfa93
@ -166,7 +166,7 @@ def do_connect(args):
|
|||||||
for p in sorted(serial.tools.list_ports.comports()):
|
for p in sorted(serial.tools.list_ports.comports()):
|
||||||
print(
|
print(
|
||||||
"{} {} {:04x}:{:04x} {} {}".format(
|
"{} {} {:04x}:{:04x} {} {}".format(
|
||||||
p.device, p.serial_number, p.pid, p.vid, p.manufacturer, p.product
|
p.device, p.serial_number, p.vid, p.pid, p.manufacturer, p.product
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return None
|
return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user