Browse Source

more update

hathach 5 years ago
parent
commit
6ddee1b5cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/device/cdc_msc_freertos/src/tusb_config.h

+ 2 - 2
examples/device/cdc_msc_freertos/src/tusb_config.h

@@ -103,8 +103,8 @@
 #define CFG_TUD_VENDOR           0
 
 // CDC FIFO size of TX and RX
-#define CFG_TUD_CDC_RX_BUFSIZE   64
-#define CFG_TUD_CDC_TX_BUFSIZE   64
+#define CFG_TUD_CDC_RX_BUFSIZE   (TUD_OPT_HIGH_SPEED ? 512 : 64)
+#define CFG_TUD_CDC_TX_BUFSIZE   (TUD_OPT_HIGH_SPEED ? 512 : 64)
 
 // MSC Buffer size of Device Mass storage
 #define CFG_TUD_MSC_EP_BUFSIZE   512