summaryrefslogtreecommitdiff
path: root/examples/device/midi_test_freertos/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/midi_test_freertos/src/main.c')
-rw-r--r--examples/device/midi_test_freertos/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/midi_test_freertos/src/main.c b/examples/device/midi_test_freertos/src/main.c
index 9dd66c526..f5267214e 100644
--- a/examples/device/midi_test_freertos/src/main.c
+++ b/examples/device/midi_test_freertos/src/main.c
@@ -48,7 +48,7 @@
#endif
#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
-#define MIDI_STACK_SIZE configMINIMAL_STACK_SIZE
+#define MIDI_STACK_SIZE (configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 2 : 1))
// static task
#if configSUPPORT_STATIC_ALLOCATION