Number endpoints according to the order of their related interfaces.

This commit is contained in:
László Monda
2016-03-10 14:35:05 +01:00
parent e4a23e2dab
commit 5eca5e58fb
3 changed files with 4 additions and 4 deletions

View File

@@ -10,8 +10,8 @@
#define USB_GENERIC_HID_INTERFACE_INDEX 0
#define USB_GENERIC_HID_ENDPOINT_IN_INDEX 3
#define USB_GENERIC_HID_ENDPOINT_OUT_INDEX 4
#define USB_GENERIC_HID_ENDPOINT_IN_INDEX 1
#define USB_GENERIC_HID_ENDPOINT_OUT_INDEX 2
#define USB_GENERIC_HID_ENDPOINT_COUNT 2
#define USB_GENERIC_HID_INTERRUPT_IN_PACKET_SIZE 64