mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-07-27 08:14:37 +00:00
* Fix MISRA C 2012 Rule 20.4: Replace `#define static` with STATIC macro Replace `#define static` with `#define STATIC static` to prevent the macro from shadowing the C `static` keyword. This also ensures static variables in `vApplicationGetIdleTaskMemory()` and `vApplicationGetPassiveIdleTaskMemory()` remain static even when portREMOVE_STATIC_QUALIFIER is defined, preventing use-after-free bugs from stack-allocated storage.
17 KiB
17 KiB