Ivan Grokhotkov 8c307a5720 sleep: fix deadlock in esp_timer_impl_advance after light sleep
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.
2018-05-09 22:52:50 +08:00
..
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2016-11-22 14:45:50 +08:00
2017-02-22 14:40:36 +08:00