mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-06 06:40:58 +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.
23 KiB
23 KiB