mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -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.