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/host | |
| parent | 1cec005f8fe9eeb0cfa8e42af9245449c18ec61b (diff) | |
increase freertos stack size when debug is enabled
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid_freertos/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid_freertos/src/main.c b/examples/host/cdc_msc_hid_freertos/src/main.c index 4a9031278..483f2344e 100644 --- a/examples/host/cdc_msc_hid_freertos/src/main.c +++ b/examples/host/cdc_msc_hid_freertos/src/main.c @@ -34,7 +34,7 @@ #define USBH_STACK_SIZE 4096 #else // Increase stack size when debug log is enabled - #define USBH_STACK_SIZE (4*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1) + #define USBH_STACK_SIZE (configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 4 : 2)) #endif |
