aboutsummaryrefslogtreecommitdiffstats
path: root/src/tusb_config.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-11-20 19:26:20 +0100
committerLouis Burda <quent.burda@gmail.com>2022-11-20 19:26:20 +0100
commit7f1cf3407ab3ba4827053133a7a47901ce763c61 (patch)
tree85f5d8030fb6810b83cbb3a2590108d8888feb5b /src/tusb_config.h
parent7162946544630859face4ef3e397c16d823028f5 (diff)
downloadsxkbd-7f1cf3407ab3ba4827053133a7a47901ce763c61.tar.gz
sxkbd-7f1cf3407ab3ba4827053133a7a47901ce763c61.zip
Integrate tinyUSB composite HID example
Diffstat (limited to 'src/tusb_config.h')
-rw-r--r--src/tusb_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tusb_config.h b/src/tusb_config.h
index cd251d6..31bdac7 100644
--- a/src/tusb_config.h
+++ b/src/tusb_config.h
@@ -46,6 +46,8 @@ extern "C" {
#define CFG_TUD_MIDI 0
#define CFG_TUD_VENDOR 0
+#define CFG_TUD_HID_EP_BUFSIZE 16
+
#define CFG_TUD_CDC_EP_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 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)