From 8548ffe74c4da8f569bddb904c28e2bb7b6c4c18 Mon Sep 17 00:00:00 2001 From: xysun Date: Fri, 17 Nov 2023 15:48:22 +0800 Subject: [PATCH] remove warning for test_afe.c --- test_apps/esp-sr/main/test_afe.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_apps/esp-sr/main/test_afe.c b/test_apps/esp-sr/main/test_afe.c index b074665..8aca4d0 100644 --- a/test_apps/esp-sr/main/test_afe.c +++ b/test_apps/esp-sr/main/test_afe.c @@ -31,6 +31,9 @@ static int total_ram_size_before = 0; static int internal_ram_size_before = 0; static int psram_size_before = 0; + + +#if (CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID && CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS) const static char *task_state[] = { "Running", "Ready", @@ -43,6 +46,7 @@ const static char *task_state[] = { * "Extr": Allocated task stack from psram, "Intr": Allocated task stack from internel */ const static char *task_stack[] = {"Extr", "Intr"}; +#endif TEST_CASE(">>>>>>>> audio_front_end SR create/destroy API & memory leak <<<<<<<<", "[afe]")