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:
Mahavir Jain
2018-09-25 22:40:32 +05:30
parent 46ad2c6ad0
commit b5c321d981
3 changed files with 28 additions and 10 deletions

View File

@@ -104,6 +104,10 @@ void esp_pm_impl_isr_hook();
*/
void esp_pm_impl_dump_stats(FILE* out);
/**
* @brief Hook function implementing `waiti` instruction, should be invoked from idle task context
*/
void esp_pm_impl_waiti();
#ifdef CONFIG_PM_PROFILING
#define WITH_PROFILING