mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
c72c66fff8
This commit fixes a deadlock in `esp32s3-devkit:sta_softap` defconfig: `spin_lock_irqsave` was being used to enter a critical section that calls `nxsem_post`. In this case, it's recommended to use `[enter|leave]_critical_section` to avoid deadlocks when a context switch may happen, for instance.