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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user