From 38fb90d1794f6d6d907713e8828cf925a4916be6 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Sun, 10 Sep 2023 22:27:36 -0700 Subject: [PATCH] pseudo-idle task requires more stack (cJSON) - release --- components/services/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/services/monitor.c b/components/services/monitor.c index 2ad49c58..f874dc6e 100644 --- a/components/services/monitor.c +++ b/components/services/monitor.c @@ -26,7 +26,7 @@ #include "cJSON.h" #include "tools.h" -#define PSEUDO_IDLE_STACK_SIZE (3*1024) +#define PSEUDO_IDLE_STACK_SIZE (6*1024) #define MONITOR_TIMER (10*1000) #define SCRATCH_SIZE 256 @@ -62,7 +62,7 @@ static void task_stats( cJSON* top ) { current.n = uxTaskGetSystemState( current.tasks, current.n, ¤t.total ); cJSON_AddNumberToObject(top,"ntasks",current.n); - char scratch[SCRATCH_SIZE] = { 0 }; + char scratch[SCRATCH_SIZE] = { }; #ifdef CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS #pragma message("Compiled with runtime stats")