summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Scheller <github@loowis.durge.org>2021-07-02 09:50:25 +0100
committerDamien George <damien@micropython.org>2021-07-02 23:27:07 +1000
commitd1decdfa937368bc83adf6829eba6743d75136d0 (patch)
treed383c9a442db477872a1a8a59da602a37b91d3c6
parent076caf317e0a2ea689723d4295b5a6236a09d010 (diff)
tools/mpremote: Swap order of PID and VID in connect-list output.
Fixes issue #7481.
-rw-r--r--tools/mpremote/mpremote/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpremote/mpremote/main.py b/tools/mpremote/mpremote/main.py
index b7c46a1f1..d225bf2e4 100644
--- a/tools/mpremote/mpremote/main.py
+++ b/tools/mpremote/mpremote/main.py
@@ -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