mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
esp32: fix regression introduced in automatic light sleep pm
Closes: https://github.com/espressif/esp-idf/issues/2459 Signed-off-by: Mahavir Jain <mahavir@espressif.com>
This commit is contained in:
@@ -60,9 +60,7 @@ void esp_vApplicationIdleHook()
|
||||
esp_pm_impl_idle_hook();
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_FREERTOS_USE_TICKLESS_IDLE
|
||||
asm("waiti 0");
|
||||
#endif
|
||||
esp_pm_impl_waiti();
|
||||
}
|
||||
|
||||
esp_err_t esp_register_freertos_idle_hook_for_cpu(esp_freertos_idle_cb_t new_idle_cb, UBaseType_t cpuid)
|
||||
|
Reference in New Issue
Block a user