Extract USB_*_INTERFACE_COUNT macros to usb_interface_*.h files and make usb_device_config.h use them along with USB_*_ENDPOINT_COUNT macros.

This commit is contained in:
László Monda
2017-03-05 23:45:41 +01:00
parent 117332bb67
commit c7f101b67f
8 changed files with 28 additions and 10 deletions

View File

@@ -10,6 +10,7 @@
// Macros:
#define USB_BASIC_KEYBOARD_INTERFACE_INDEX 1
#define USB_BASIC_KEYBOARD_INTERFACE_COUNT 1
#define USB_BASIC_KEYBOARD_ENDPOINT_INDEX 3
#define USB_BASIC_KEYBOARD_ENDPOINT_COUNT 1