mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
This commit is contained in:
parent
20106fc141
commit
b1b92d46e5
@ -818,8 +818,8 @@ void esp_pm_impl_waiti(void)
|
|||||||
* the lock so that vApplicationSleep can attempt to enter light sleep.
|
* the lock so that vApplicationSleep can attempt to enter light sleep.
|
||||||
*/
|
*/
|
||||||
esp_pm_impl_idle_hook();
|
esp_pm_impl_idle_hook();
|
||||||
s_skipped_light_sleep[core_id] = false;
|
|
||||||
}
|
}
|
||||||
|
s_skipped_light_sleep[core_id] = true;
|
||||||
#else
|
#else
|
||||||
cpu_hal_waiti();
|
cpu_hal_waiti();
|
||||||
#endif // CONFIG_FREERTOS_USE_TICKLESS_IDLE
|
#endif // CONFIG_FREERTOS_USE_TICKLESS_IDLE
|
||||||
|
Loading…
Reference in New Issue
Block a user