diff options
| author | hathach <[email protected]> | 2025-10-30 11:16:19 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-30 11:16:19 +0700 |
| commit | ec8ef7a9afbab36271b2aec1624eec35e0b42900 (patch) | |
| tree | df21335e7a914f3065cb75896a0c56a612b537f8 /examples/device/midi_test_freertos/src | |
| parent | 1cec005f8fe9eeb0cfa8e42af9245449c18ec61b (diff) | |
increase freertos stack size when debug is enabled
Diffstat (limited to 'examples/device/midi_test_freertos/src')
| -rw-r--r-- | examples/device/midi_test_freertos/src/main.c | 2 |
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 070906d0d..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 2*configMINIMAL_STACK_SIZE +#define MIDI_STACK_SIZE (configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 2 : 1)) // static task #if configSUPPORT_STATIC_ALLOCATION |
