mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 18:49:08 -04:00
Earlier recursive mutex was being used for this but since SCOMPARE1 is already being saved/restored during context switch, atomic compare and set can be used for this. Signed-off-by: Mahavir Jain <mahavir@espressif.com>