summaryrefslogtreecommitdiff
path: root/examples/device/midi_test_freertos
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-10-30 14:21:24 +0700
committerGitHub <[email protected]>2025-10-30 14:21:24 +0700
commit813eba22c146f85c924717c458b20bd3d9d5d3b0 (patch)
treec965f05bfbb671434f870cb8105c449b407751e4 /examples/device/midi_test_freertos
parent3ff54153d42c83fc0a1e13106c6632c3237b1670 (diff)
parentec8ef7a9afbab36271b2aec1624eec35e0b42900 (diff)
Merge pull request #3271 from karlp/pr/examplesd-freertos-stacks
examples/device/*_freertos: expand stack size when needed
Diffstat (limited to 'examples/device/midi_test_freertos')
-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