summaryrefslogtreecommitdiff
path: root/examples/device/midi_test
diff options
context:
space:
mode:
authorWilliam D. Jones <[email protected]>2019-09-23 23:11:47 -0400
committerWilliam D. Jones <[email protected]>2019-09-23 23:11:47 -0400
commit742f1f23c56c6c7ed9b65fac4269aa37e6881aa1 (patch)
tree2c2bf9c90f18f4d4e2b3e87be65443a4ac9f7734 /examples/device/midi_test
parent950614a841a69f09ffd8b97205183e1c85b09443 (diff)
examples: Allow user to override EP0 size.
Diffstat (limited to 'examples/device/midi_test')
-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