nobody wrote on Wednesday, May 10, 2006:
I have a question…
Is it possible to reset a task?
if i have the task like this
static portTASK_FUNCTION( vLightsTask, pvParameters )
initSomeThings(); <----- RESART HERE
vTaskDelay(1000); <-------------- HERE
This task is running and it currently is a delay.
From another function i want to be able to resart the task, so it would remove it from the delay and start over.
I guess i could delete the task and then re-create it but i thought this might take too long, is there another way
If i am not making sense let me know and i will try and explain.