Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding volatile to tasks.c's runtime information to protect against c…
…ompiler optimization (#62) As discussed in https://forums.freertos.org/t/make-runtime-stats-working-with-compiler-optimization-enabled/9846 and on lined out on https://blog.the78mole.de/freertos-debugging-on-stm32-cpu-usage/, adding the volatile prevents the run-time stats variable being optimized away when used with compiler optimizations.
- Loading branch information