Skip to content

Commit 343ff95

Browse files
committed
ad hid bufsize
1 parent 48b14db commit 343ff95

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

cores/nRF5/Adafruit_TinyUSB_Core/tusb_config.h

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,13 @@
6060
#define CFG_TUD_MIDI 0
6161
#define CFG_TUD_CUSTOM_CLASS 0
6262

63-
//--------------------------------------------------------------------
64-
// CDC
65-
//--------------------------------------------------------------------
63+
//------------- CDC -------------//
6664

6765
// FIFO size of CDC TX and RX
6866
#define CFG_TUD_CDC_RX_BUFSIZE 256
6967
#define CFG_TUD_CDC_TX_BUFSIZE 256
7068

71-
//--------------------------------------------------------------------
72-
// MSC
73-
//--------------------------------------------------------------------
69+
//------------- MSC -------------//
7470

7571
// Buffer size of Device Mass storage
7672
#define CFG_TUD_MSC_BUFSIZE 512
@@ -84,9 +80,11 @@
8480
// Product revision string included in Inquiry response, max 4 bytes
8581
#define CFG_TUD_MSC_PRODUCT_REV "1.0"
8682

87-
//--------------------------------------------------------------------
88-
// HID
89-
//--------------------------------------------------------------------
83+
//------------- HID -------------//
84+
85+
// Should be sufficient to hold ID (if any) + Data
86+
#define CFG_TUD_HID_BUFSIZE 64
87+
9088

9189
#ifdef __cplusplus
9290
}

0 commit comments

Comments
 (0)