Skip to content

Commit

Permalink
lego/usb: fix Robot Inventor USB PIDs
Browse files Browse the repository at this point in the history
Swap the PIDs for the Robot Inventor hub. They don't follow the same
patterns as SPIKE where DFU PID is lower.
  • Loading branch information
dlech committed Jan 19, 2025
1 parent cf8341a commit 205788d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/lego/lego_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#define LEGO_USB_PID_SPIKE_ESSENTIAL_DFU 0x000C
/** Official LEGO USB Product ID for SPIKE Essential. */
#define LEGO_USB_PID_SPIKE_ESSENTIAL 0x000D
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor in DFU mode. */
#define LEGO_USB_PID_ROBOT_INVENTOR_DFU 0x0010
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor. */
#define LEGO_USB_PID_ROBOT_INVENTOR 0x0011
#define LEGO_USB_PID_ROBOT_INVENTOR 0x0010
/** Official LEGO USB Product ID for MINDSTORMS Robot Inventor in DFU mode. */
#define LEGO_USB_PID_ROBOT_INVENTOR_DFU 0x0011

/** Official LEGO USB Manufacturer String. */
#define LEGO_USB_MFG_STR "LEGO System A/S"
Expand Down

0 comments on commit 205788d

Please sign in to comment.