Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tasks.c - vTaskStartScheduler() should clean up state to enable vTask…
…StartScheduler() to be called again In the posix use case it is possible to repeatedly start and stop the scheduler. FreeRTOS has no routine for initializing internal state as internal state variables are initialized at application start up. For subsequent scheduler starts there were variables left with state that was preventing the scheduler from starting up. Re-initialize these before vTaskStartScheduler() exits.
- Loading branch information