diff options
| author | hathach <[email protected]> | 2018-06-23 13:19:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-06-23 13:19:36 +0700 |
| commit | b9f8575e2d0632b2b4a2358cf181c276c49eca2f (patch) | |
| tree | 4241290fee52b748099bb984163408b01af0a325 /examples | |
| parent | d438000b99a5dbd5357d042fa48d0d87f180f032 (diff) | |
clean up device cdc
separate cdc tx & rx bufsize
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/nrf52840/src/tusb_config.h | 4 | ||||
| -rw-r--r-- | examples/obsolete/device/src/tusb_config.h | 4 |
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 |
