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));