Use USB_DEVICE_CONFIG_HID as a single source of truth and replace USB_COMPOSITE_INTERFACE_COUNT with it.

This commit is contained in:
László Monda
2016-03-03 23:55:58 +01:00
parent 22e36dc030
commit a988afe1ea
8 changed files with 11 additions and 13 deletions

View File

@@ -9,7 +9,6 @@
// Macros:
#define USB_GENERIC_HID_INTERFACE_INDEX 0
#define USB_GENERIC_HID_INTERFACE_COUNT 1
#define USB_GENERIC_HID_ENDPOINT_IN_INDEX 3
#define USB_GENERIC_HID_ENDPOINT_OUT_INDEX 4