summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/Makefile')
-rw-r--r--nuttx/configs/stm3210e-eval/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/Makefile b/nuttx/configs/stm3210e-eval/src/Makefile
index 2179bd6a9..871d01ff1 100644
--- a/nuttx/configs/stm3210e-eval/src/Makefile
+++ b/nuttx/configs/stm3210e-eval/src/Makefile
@@ -80,7 +80,7 @@ ifeq ($(CONFIG_PM_CUSTOMINIT),y)
CSRCS += up_pm.c
endif
-ifeq ($(CONFIG_PM),y)
+ifeq ($(CONFIG_PM_BUTTONS),y)
CSRCS += up_pmbuttons.c
endif