mirror of
https://github.com/apache/nuttx.git
synced 2026-02-06 04:22:26 +08:00
xtensa/esp32: Announce the power management state change to feed watchdog
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
2991418b2e
commit
cb8d267230
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user