ad hid bufsize

This commit is contained in:
hathach committed 2019-05-03 00:00:41 +07:00
1 parent 48b14db4a3
commit 343ff9571e
1 file changed
+7 -9
@@ -60,17 +60,13 @@
#define CFG_TUD_MIDI 0 #define CFG_TUD_MIDI 0
#define CFG_TUD_CUSTOM_CLASS 0 #define CFG_TUD_CUSTOM_CLASS 0
//-------------------------------------------------------------------- //------------- CDC -------------//
// CDC
//--------------------------------------------------------------------
// FIFO size of CDC TX and RX // FIFO size of CDC TX and RX
#define CFG_TUD_CDC_RX_BUFSIZE 256 #define CFG_TUD_CDC_RX_BUFSIZE 256
#define CFG_TUD_CDC_TX_BUFSIZE 256 #define CFG_TUD_CDC_TX_BUFSIZE 256
//-------------------------------------------------------------------- //------------- MSC -------------//
// MSC
//--------------------------------------------------------------------
// Buffer size of Device Mass storage // Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512 #define CFG_TUD_MSC_BUFSIZE 512
@@ -84,9 +80,11 @@
// Product revision string included in Inquiry response, max 4 bytes // Product revision string included in Inquiry response, max 4 bytes
#define CFG_TUD_MSC_PRODUCT_REV "1.0" #define CFG_TUD_MSC_PRODUCT_REV "1.0"
//-------------------------------------------------------------------- //------------- HID -------------//
// HID
//-------------------------------------------------------------------- // Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_BUFSIZE 64
#ifdef __cplusplus #ifdef __cplusplus
} }