summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/src/up_pmbuttons.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_pmbuttons.c')
-rw-r--r--nuttx/configs/stm3210e-eval/src/up_pmbuttons.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_pmbuttons.c b/nuttx/configs/stm3210e-eval/src/up_pmbuttons.c
index 527f46163..62dc45f1e 100644
--- a/nuttx/configs/stm3210e-eval/src/up_pmbuttons.c
+++ b/nuttx/configs/stm3210e-eval/src/up_pmbuttons.c
@@ -51,13 +51,13 @@
#include "nvic.h"
#include "stm32_pwr.h"
#include "stm32_pm.h"
+#include "stm3210e-internal.h"
#if defined(CONFIG_PM) && defined(CONFIG_IDLE_CUSTOM)
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
-
/* Configuration ************************************************************/
#ifndef CONFIG_ARCH_BUTTONS
@@ -124,6 +124,8 @@
# define CONFIG_PM_BUTTON_ACTIVITY 10
#endif
+/* Miscellaneous Definitions ************************************************/
+
#ifndef MIN
# define MIN(a,b) (a < b ? a : b)
#endif