Merged in david_s5/nuttx/cdcacm_rd_wr_confusion (pull request #50)

Cdcacm_rd_wr_confusion
This commit is contained in:
Gregory Nutt 2016-03-17 16:03:47 -06:00
commit 6e57f90bbe
2 changed files with 3 additions and 3 deletions

View File

@ -410,13 +410,13 @@ config CDCACM_EPBULKIN_HSSIZE
Max package size for the bulk IN endpoint if high speed mode. Max package size for the bulk IN endpoint if high speed mode.
Default 512. Default 512.
config CDCACM_NWRREQS config CDCACM_NRDREQS
int "Number of read requests that can be in flight" int "Number of read requests that can be in flight"
default 4 default 4
---help--- ---help---
The number of read requests that can be in flight The number of read requests that can be in flight
config CDCACM_NRDREQS config CDCACM_NWRREQS
int "Number of write requests that can be in flight" int "Number of write requests that can be in flight"
default 4 default 4
---help--- ---help---

View File

@ -111,7 +111,7 @@ struct cdcacm_dev_s
*/ */
struct cdcacm_req_s wrreqs[CONFIG_CDCACM_NWRREQS]; struct cdcacm_req_s wrreqs[CONFIG_CDCACM_NWRREQS];
struct cdcacm_req_s rdreqs[CONFIG_CDCACM_NWRREQS]; struct cdcacm_req_s rdreqs[CONFIG_CDCACM_NRDREQS];
/* Serial I/O buffers */ /* Serial I/O buffers */