From d1decdfa937368bc83adf6829eba6743d75136d0 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Fri, 2 Jul 2021 09:50:25 +0100 Subject: [PATCH] tools/mpremote: Swap order of PID and VID in connect-list output. Fixes issue #7481. --- tools/mpremote/mpremote/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mpremote/mpremote/main.py b/tools/mpremote/mpremote/main.py index b7c46a1f11..d225bf2e41 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