Hi,
when i create a task xTaskCreate(myTask, “myTask”, THREAD_STACKSIZE, NULL, 2, NULL);
and the task defines a static variable
void myTask(){
static int x = 2;*
doSomething(&x);*
vTaskDelete(NULL);* }
Is x still available after deleting the task? Usually it should be still available, but I am not sure if FreeRTOS is doing some additional clean up work, when deleting the task.