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:
@@ -9,6 +9,7 @@
|
||||
// Macros:
|
||||
|
||||
#define USB_MOUSE_INTERFACE_INDEX 2
|
||||
#define USB_MOUSE_INTERFACE_COUNT 1
|
||||
|
||||
#define USB_MOUSE_ENDPOINT_INDEX 4
|
||||
#define USB_MOUSE_ENDPOINT_COUNT 1
|
||||
|
||||
Reference in New Issue
Block a user