diff options
| author | hathach <[email protected]> | 2018-07-17 16:04:55 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-17 16:04:55 +0700 |
| commit | 798ce59ebd46118c7d64e9cfa54319787715ef7d (patch) | |
| tree | bb52af0a951363988a5249fdc0b8bf888ab3268f /src/class/cdc/cdc_device.h | |
| parent | abb37e98baa16ae9f99f9d7562e4ee166e8bc4de (diff) | |
revert usbd_control_xfer_st() implementation
enhance cdc with better multiple interfaces support
add default ep size for cdc and msc device CFG_TUD_CDC_EPSIZE,
CFG_TUD_MSC_EPSIZE
Diffstat (limited to 'src/class/cdc/cdc_device.h')
| -rw-r--r-- | src/class/cdc/cdc_device.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h index 0a1b2ca8f..046878680 100644 --- a/src/class/cdc/cdc_device.h +++ b/src/class/cdc/cdc_device.h @@ -43,6 +43,14 @@ #include "device/usbd.h"
#include "cdc.h"
+//--------------------------------------------------------------------+
+// Class Driver Configuration
+//--------------------------------------------------------------------+
+#ifndef CFG_TUD_CDC_EPSIZE
+#define CFG_TUD_CDC_EPSIZE 64
+#endif
+
+
#ifdef __cplusplus
extern "C" {
#endif
|
