Properly terminate cyw43 task when cyw43_arch_deinit() is called (#962)

This commit is contained in:
Attila Wagner 2022-08-08 13:48:29 +01:00 committed by GitHub
parent fe7849d645
commit 2ebba462ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,6 +101,7 @@ static void cyw43_task(__unused void *param) {
xSemaphoreGive(cyw43_worker_ran_sem); xSemaphoreGive(cyw43_worker_ran_sem);
__sev(); // it is possible regular code is waiting on a WFE on the other core __sev(); // it is possible regular code is waiting on a WFE on the other core
} while (true); } while (true);
vTaskDelete(NULL);
} }
static void tcpip_init_done(void *param) { static void tcpip_init_done(void *param) {