mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 15:47:13 +00: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.