diff options
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_pm.c')
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/up_pm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_pm.c b/nuttx/configs/stm3210e-eval/src/up_pm.c index 069a0cb5f..dd8a79b1c 100644 --- a/nuttx/configs/stm3210e-eval/src/up_pm.c +++ b/nuttx/configs/stm3210e-eval/src/up_pm.c @@ -93,6 +93,12 @@ void up_pminitialize(void) pm_initialize(); +#ifdef CONFIG_PM_BUTTONS + /* Initialize the buttons to wake up the system from low power modes */ + + up_pmbuttons(); +#endif + /* Initialize the LED PM */ up_ledpminitialize(); |