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/device | |
| parent | d438000b99a5dbd5357d042fa48d0d87f180f032 (diff) | |
clean up device cdc
separate cdc tx & rx bufsize
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/nrf52840/src/tusb_config.h | 4 |
1 files changed, 3 insertions, 1 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 |
