pm_impl: fix neither enter light sleep nor enter waiti state in idle task

pull/8934/head
gaoxiaojie 2022-04-20 19:37:46 +08:00
rodzic 4b2098bc58
commit 784b46be11
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -831,8 +831,8 @@ void esp_pm_impl_waiti(void)
* the lock so that vApplicationSleep can attempt to enter light sleep.
*/
esp_pm_impl_idle_hook();
s_skipped_light_sleep[core_id] = false;
}
s_skipped_light_sleep[core_id] = true;
#else
cpu_hal_waiti();
#endif // CONFIG_FREERTOS_USE_TICKLESS_IDLE