mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
158ecdcfd5
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>