summaryrefslogtreecommitdiff
path: root/examples/device/midi_test/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/midi_test/src')
-rw-r--r--examples/device/midi_test/src/tusb_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/tusb_config.h b/examples/device/midi_test/src/tusb_config.h
index d588b4df9..4a84812c5 100644
--- a/examples/device/midi_test/src/tusb_config.h
+++ b/examples/device/midi_test/src/tusb_config.h
@@ -69,7 +69,9 @@
// DEVICE CONFIGURATION
//--------------------------------------------------------------------
-#define CFG_TUD_ENDOINT0_SIZE 64
+#ifndef CFG_TUD_ENDOINT0_SIZE
+#define CFG_TUD_ENDOINT0_SIZE 64
+#endif
//------------- CLASS -------------//
#define CFG_TUD_CDC 0