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_GENERIC_HID_SUBCLASS (0x00U)
|
||||
#define USB_GENERIC_HID_PROTOCOL (0x00U)
|
||||
|
||||
#define USB_GENERIC_HID_INTERFACE_INDEX (2U)
|
||||
#define USB_GENERIC_HID_INTERFACE_INDEX (0U)
|
||||
#define USB_GENERIC_HID_INTERFACE_COUNT (1U)
|
||||
#define USB_GENERIC_HID_INTERFACE_ALTERNATE_SETTING (0U)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user