mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Merged in david_s5/nuttx/cdcacm_rd_wr_confusion (pull request #50)
Cdcacm_rd_wr_confusion
This commit is contained in:
@@ -410,13 +410,13 @@ config CDCACM_EPBULKIN_HSSIZE
|
||||
Max package size for the bulk IN endpoint if high speed mode.
|
||||
Default 512.
|
||||
|
||||
config CDCACM_NWRREQS
|
||||
config CDCACM_NRDREQS
|
||||
int "Number of read requests that can be in flight"
|
||||
default 4
|
||||
---help---
|
||||
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"
|
||||
default 4
|
||||
---help---
|
||||
|
||||
@@ -111,7 +111,7 @@ struct cdcacm_dev_s
|
||||
*/
|
||||
|
||||
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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user