From c212c2b61c28941c32417abfbd7f6e645a8a9033 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 6 Jun 2023 11:08:50 +0800 Subject: [PATCH] core-systems/heap: fixed wrong error message from assert in heap trace --- components/heap/include/heap_trace.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/heap/include/heap_trace.inc b/components/heap/include/heap_trace.inc index 7d20467098..9a8923dee2 100644 --- a/components/heap/include/heap_trace.inc +++ b/components/heap/include/heap_trace.inc @@ -94,7 +94,7 @@ static HEAP_IRAM_ATTR __attribute__((noinline)) void get_call_stack(void **calle TEST_STACK(31); } -ESP_STATIC_ASSERT(STACK_DEPTH >= 0 && STACK_DEPTH <= 32, "CONFIG_HEAP_TRACING_STACK_DEPTH must be in range 0-10"); +ESP_STATIC_ASSERT(STACK_DEPTH >= 0 && STACK_DEPTH <= 32, "CONFIG_HEAP_TRACING_STACK_DEPTH must be in range 0-32"); typedef enum {