From 205788d99340845579a78122cb0e9df1e0ac627c Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 18 Jan 2025 18:07:08 -0600 Subject: [PATCH] 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. --- lib/lego/lego_usb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lego/lego_usb.h b/lib/lego/lego_usb.h index 9925b90ba..e60de830c 100644 --- a/lib/lego/lego_usb.h +++ b/lib/lego/lego_usb.h @@ -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"