Skip to content

Commit 205788d

Browse files
committed
lego/usb: fix Robot Inventor USB PIDs
Swap the PIDs for the Robot Inventor hub. They don't follow the same patterns as SPIKE where DFU PID is lower.
1 parent cf8341a commit 205788d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/lego/lego_usb.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
#define LEGO_USB_PID_SPIKE_ESSENTIAL_DFU 0x000C
1919
/** Official LEGO USB Product ID for SPIKE Essential. */
2020
#define LEGO_USB_PID_SPIKE_ESSENTIAL 0x000D
21-
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor in DFU mode. */
22-
#define LEGO_USB_PID_ROBOT_INVENTOR_DFU 0x0010
2321
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor. */
24-
#define LEGO_USB_PID_ROBOT_INVENTOR 0x0011
22+
#define LEGO_USB_PID_ROBOT_INVENTOR 0x0010
23+
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor in DFU mode. */
24+
#define LEGO_USB_PID_ROBOT_INVENTOR_DFU 0x0011
2525

2626
/** Official LEGO USB Manufacturer String. */
2727
#define LEGO_USB_MFG_STR "LEGO System A/S"

0 commit comments

Comments
 (0)