Set USB_DEVICE_CONFIG_ENDPOINTS to 5 instead of 6 because it's just enough.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 0
|
#define USB_DEVICE_CONFIG_REMOTE_WAKEUP 0
|
||||||
|
|
||||||
// How many endpoints are supported in the stack
|
// How many endpoints are supported in the stack
|
||||||
#define USB_DEVICE_CONFIG_ENDPOINTS 6
|
#define USB_DEVICE_CONFIG_ENDPOINTS 5
|
||||||
|
|
||||||
// The maximum buffer length for the KHCI DMA workaround
|
// The maximum buffer length for the KHCI DMA workaround
|
||||||
#define USB_DEVICE_CONFIG_KHCI_DMA_ALIGN_BUFFER_LENGTH 64
|
#define USB_DEVICE_CONFIG_KHCI_DMA_ALIGN_BUFFER_LENGTH 64
|
||||||
|
|||||||
Reference in New Issue
Block a user