summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-22 01:02:52 +0700
committerhathach <[email protected]>2025-11-22 01:02:52 +0700
commitd9094ffcee61ee0c155945969c15a34e1e7365ed (patch)
treeab537d5d051c215fc1323ec2881f542aebe653c9 /src
parent7df6e7bd054e6b81af8e0b2549ee60571be8c1d4 (diff)
implement wanted char for cdc device without ep_buf
Diffstat (limited to 'src')
-rw-r--r--src/class/cdc/cdc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c
index aeaceb16c..3f860a657 100644
--- a/src/class/cdc/cdc_device.c
+++ b/src/class/cdc/cdc_device.c
@@ -66,7 +66,7 @@ typedef struct {
#define ITF_MEM_RESET_SIZE offsetof(cdcd_interface_t, line_coding)
-#if CFG_TUD_EDPT_DEDICATED_HWFIFO || CFG_TUD_CDC_NOTIFY
+#if CFG_TUD_EDPT_DEDICATED_HWFIFO == 0 || CFG_TUD_CDC_NOTIFY
typedef struct {
// Don't use local EP buffer if dedicated hw FIFO is supported
#if CFG_TUD_EDPT_DEDICATED_HWFIFO == 0