clean up device cdc

separate cdc tx & rx bufsize
This commit is contained in:
hathach
2018-06-23 13:19:36 +07:00
parent d438000b99
commit b9f8575e2d
5 changed files with 22 additions and 16 deletions

View File

@@ -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