From cab8fc55c2e9e8ed14ec9ff33675a4a23eae494a Mon Sep 17 00:00:00 2001 From: yehangyang Date: Thu, 3 Mar 2022 11:59:22 +0800 Subject: [PATCH] :bug: not exist macro --- components/modules/trace/who_trace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/modules/trace/who_trace.c b/components/modules/trace/who_trace.c index 2f30229..014382b 100644 --- a/components/modules/trace/who_trace.c +++ b/components/modules/trace/who_trace.c @@ -1,4 +1,5 @@ #include "who_trace.h" + #include #include @@ -13,9 +14,6 @@ static void task_trace(void *arg) { while (true) { - if (CONFIG_FREERTOS_USE_TRACE_FACILITY == 0 && CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS == 0) - break; - int task_num = uxTaskGetNumberOfTasks(); char *buffer = (char *)malloc(task_num * 40 * sizeof(char));