mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
xtensa/esp32: Announce the power management state change to feed watchdog
This commit is contained in:
parent
2991418b2e
commit
cb8d267230
1 changed files with 6 additions and 0 deletions
|
@ -152,6 +152,12 @@ static void up_idlepm(void)
|
|||
|
||||
pm_relax(PM_IDLE_DOMAIN, PM_NORMAL);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WATCHDOG
|
||||
/* Announce the power management state change to feed watchdog */
|
||||
|
||||
pm_changestate(PM_IDLE_DOMAIN, PM_NORMAL);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue