summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-05-31 22:25:14 +0700
committerGitHub <[email protected]>2022-05-31 22:25:14 +0700
commitfdeac8508be5cdd95966422d1e776604efbc9b3f (patch)
treee3e1ddf37ebd5500145ac610239f2d5baeceb6fa /src/tusb_option.h
parentab7c23a787a024dcaadb698c9d7533ad85209cd7 (diff)
parente384d16d576089daa3a5c993ead06cffb7a50cbe (diff)
Merge pull request #1381 from hathach/add-sof-isr
Add SOF IRQ Handler
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 0c914bc4f..7f60fbd84 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -296,6 +296,10 @@
#define CFG_TUD_ENDPOINT0_SIZE 64
#endif
+#ifndef CFG_TUD_INTERFACE_MAX
+ #define CFG_TUD_INTERFACE_MAX 16
+#endif
+
#ifndef CFG_TUD_CDC
#define CFG_TUD_CDC 0
#endif