mirror of
https://github.com/espressif/esp-idf
synced 2025-03-24 08:29:11 -04:00
Spinlocks themselves do not constitute critical sections as after a spinlock is acquired, interrupts can remain enabled. However, there are some places where spinlocks are used direclty instead of using the portMUX_TYPE and portENTER_CRITICAL_...() APIs. This commit fixes those calls.