summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorJan Dümpelmann <[email protected]>2020-09-10 13:36:07 +0200
committerJan Dümpelmann <[email protected]>2020-09-10 13:36:07 +0200
commitb15c209805978dc115fe38c72b3f7c235aed42ec (patch)
tree00d22f0b72c59e986ecf80b990c9814c229e0b2e /src/class/cdc
parente09ebea7b99e3385bc1b1d326923b0a36003275d (diff)
Set new define because of build failure
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index 145381c42..1d7a64827 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -43,6 +43,10 @@
#define CFG_TUD_CDC_EP_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
#endif
+#ifndef CFG_TUD_CDC_CLEAR_AT_CONNECTION
+ #define CFG_TUD_CDC_CLEAR_AT_CONNECTION 0
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif