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:
László Monda
2016-03-03 11:12:24 +01:00
parent 73518d8222
commit 9ef0c484ba
3 changed files with 11 additions and 11 deletions

View File

@@ -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)