Files
FreeRTOS-Kernel/croutine.c
elsonwei 97328600db Fix MISRA C 2012 Rule 20.4: Replace #define static with STATIC macro (#1410)
* 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.
2026-06-12 11:43:02 -07:00

17 KiB