tools/mpremote: Swap order of PID and VID in connect-list output.

Fixes issue #7481.
This commit is contained in:
Andrew Scheller 2021-07-02 09:50:25 +01:00 committed by Damien George
parent 076caf317e
commit d1decdfa93

View file

@ -166,7 +166,7 @@ def do_connect(args):
for p in sorted(serial.tools.list_ports.comports()):
print(
"{} {} {: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