From 2ebba462ac1676a4b2429ed8f6ea7764f0f34f02 Mon Sep 17 00:00:00 2001 From: Attila Wagner Date: Mon, 8 Aug 2022 13:48:29 +0100 Subject: [PATCH] Properly terminate cyw43 task when `cyw43_arch_deinit()` is called (#962) --- src/rp2_common/pico_cyw43_arch/cyw43_arch_freertos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rp2_common/pico_cyw43_arch/cyw43_arch_freertos.c b/src/rp2_common/pico_cyw43_arch/cyw43_arch_freertos.c index 88dde6e..2bfb39e 100644 --- a/src/rp2_common/pico_cyw43_arch/cyw43_arch_freertos.c +++ b/src/rp2_common/pico_cyw43_arch/cyw43_arch_freertos.c @@ -101,6 +101,7 @@ static void cyw43_task(__unused void *param) { xSemaphoreGive(cyw43_worker_ran_sem); __sev(); // it is possible regular code is waiting on a WFE on the other core } while (true); + vTaskDelete(NULL); } static void tcpip_init_done(void *param) {