mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
freertos,esp32: automatic light sleep support
This commit is contained in:
@@ -59,6 +59,10 @@ void esp_vApplicationIdleHook()
|
||||
#ifdef CONFIG_PM_ENABLE
|
||||
esp_pm_impl_idle_hook();
|
||||
#endif
|
||||
}
|
||||
|
||||
extern void esp_vApplicationWaitiHook( void )
|
||||
{
|
||||
asm("waiti 0");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user