reduce number of endpoints
only endpoint 0 is used, thus there is no need to define more. this also saves RAM. Change-Id: I52a5d2d3c3d09ca7dfa165535ccc295bf190841b
This commit is contained in:
parent
e49a3dbeba
commit
9bd6f6f474
|
@ -39,7 +39,7 @@
|
|||
// <CONF_USB_D_N_EP_MAX"> Max possible (by "Max Endpoint Number" config)
|
||||
// <id> usbd_num_ep_sp
|
||||
#ifndef CONF_USB_D_NUM_EP_SP
|
||||
#define CONF_USB_D_NUM_EP_SP CONF_USB_D_N_EP_MAX
|
||||
#define CONF_USB_D_NUM_EP_SP CONF_USB_N_1
|
||||
#endif
|
||||
|
||||
// </h>
|
||||
|
@ -60,7 +60,7 @@
|
|||
// <i> The number of physical endpoints - 1
|
||||
// <id> usbd_arch_max_ep_n
|
||||
#ifndef CONF_USB_D_MAX_EP_N
|
||||
#define CONF_USB_D_MAX_EP_N CONF_USB_N_2
|
||||
#define CONF_USB_D_MAX_EP_N CONF_USB_N_0
|
||||
#endif
|
||||
|
||||
// <y> USB Speed Limit
|
||||
|
|
Loading…
Reference in New Issue