summaryrefslogtreecommitdiff
path: root/examples/host
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/host
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/host')
-rw-r--r--examples/host/cdc_msc_hid_freertos/src/main.c2
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 5dab2bed0..a41de2769 100644
--- a/examples/host/cdc_msc_hid_freertos/src/main.c
+++ b/examples/host/cdc_msc_hid_freertos/src/main.c
@@ -35,7 +35,7 @@
#define USBH_STACK_SIZE 4096
#else
// Increase stack size when debug log is enabled
- #define USBH_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1)
+ #define USBH_STACK_SIZE (configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 4 : 2))
#endif