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

@@ -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