summaryrefslogtreecommitdiff
path: root/examples/device/midi_test/src/tusb_config.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-07-16 15:34:16 +0700
committerhathach <[email protected]>2020-07-16 15:34:16 +0700
commit5ca748a68e01deec929e846b7263cf736bf891fb (patch)
treebc47216ad0c8bccb370e09f4021758933d17c0a1 /examples/device/midi_test/src/tusb_config.h
parentfea6fb73a1ef65afd848ec71d49d65cc87a9eec9 (diff)
rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
Diffstat (limited to 'examples/device/midi_test/src/tusb_config.h')
-rw-r--r--examples/device/midi_test/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/midi_test/src/tusb_config.h b/examples/device/midi_test/src/tusb_config.h
index fd109ad32..d0c327e27 100644
--- a/examples/device/midi_test/src/tusb_config.h
+++ b/examples/device/midi_test/src/tusb_config.h
@@ -101,8 +101,8 @@
#define CFG_TUD_VENDOR 0
// MIDI FIFO size of TX and RX
-#define CFG_TUD_MIDI_RX_BUFSIZE 64
-#define CFG_TUD_MIDI_TX_BUFSIZE 64
+#define CFG_TUD_MIDI_RX_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
+#define CFG_TUD_MIDI_TX_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
#ifdef __cplusplus
}