summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/device/nrf52840/src/tusb_config.h4
-rw-r--r--examples/obsolete/device/src/tusb_config.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h
index 476ff4bed..aee6099b5 100644
--- a/examples/device/nrf52840/src/tusb_config.h
+++ b/examples/device/nrf52840/src/tusb_config.h
@@ -72,7 +72,9 @@
*------------------------------------------------------------------*/
// FIFO size of CDC TX and RX
-#define CFG_TUD_CDC_BUFSIZE 64
+#define CFG_TUD_CDC_RX_BUFSIZE 64
+#define CFG_TUD_CDC_TX_BUFSIZE 64
+
// TX is sent automatically every Start of Frame event.
// If not enabled, application must call tud_cdc_flush() periodically
diff --git a/examples/obsolete/device/src/tusb_config.h b/examples/obsolete/device/src/tusb_config.h
index bdadb2110..3904facbe 100644
--- a/examples/obsolete/device/src/tusb_config.h
+++ b/examples/obsolete/device/src/tusb_config.h
@@ -77,7 +77,9 @@
*------------------------------------------------------------------*/
// FIFO size of CDC TX and RX
-#define CFG_TUD_CDC_BUFSIZE 128
+#define CFG_TUD_CDC_RX_BUFSIZE 128
+#define CFG_TUD_CDC_TX_BUFSIZE 128
+
// TX is sent automatically in Start of Frame event.
// If not enabled, application must call tud_cdc_flush() periodically