Make Generic HID the first interface because further interfaces may be added in the future and this way its index will be fixed and well defined.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#define USB_MOUSE_SUBCLASS (0x01U)
|
||||
#define USB_MOUSE_PROTOCOL (0x02U)
|
||||
|
||||
#define USB_MOUSE_INTERFACE_INDEX (0U)
|
||||
#define USB_MOUSE_INTERFACE_INDEX (2U)
|
||||
#define USB_MOUSE_INTERFACE_COUNT (1U)
|
||||
#define USB_MOUSE_INTERFACE_ALTERNATE_SETTING (0U)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user