mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 19:38:39 +08:00
380bcabba8
Replace enter_critical_section() with spinlock-based protection to avoid sleeping in atomic or interrupt contexts. Signed-off-by: xucheng5 <xucheng5@xiaomi.com>