mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +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);
|
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
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user