usb: cdc_acm: Use 2 instead of 4 for IN BULK endpoint
The highest endpoint number supported by the STM32F4xx USB device controller is 3. Change the cdc_acm driver to use endpoint 2 instead of endpoint 4 so that it will work with this platform. Change-Id: I4a3cd08f546a7fe01558528de0990156f642d93b Signed-off-by: Christer Weinigel <christer@weinigel.se>
This commit is contained in:
parent
f338a16dee
commit
cc93aceb83
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ struct cdc_acm_notification {
|
|||
|
||||
#define CDC_ENDP_INT 0x81
|
||||
#define CDC_ENDP_OUT 0x03
|
||||
#define CDC_ENDP_IN 0x84
|
||||
#define CDC_ENDP_IN 0x82
|
||||
|
||||
/* Decriptor size in bytes */
|
||||
#define USB_HFUNC_DESC_SIZE 5 /* Header Functional Descriptor */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue