mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-05 06:24:57 +00:00
When light sleep is started, the other CPU gets halted using DPORT stall mechanism. This can happen while it is inside an esp_timer critical section, which may lead to a deadlock. This change adds functions to take and release esp_timer lock before entering DPORT critical section, preventing the deadlock.
3.3 KiB
3.3 KiB