summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/stm3210e-eval/src/up_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_idle.c')
-rw-r--r--nuttx/configs/stm3210e-eval/src/up_idle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_idle.c b/nuttx/configs/stm3210e-eval/src/up_idle.c
index 910d0a9d6c..7b682e2bb1 100644
--- a/nuttx/configs/stm3210e-eval/src/up_idle.c
+++ b/nuttx/configs/stm3210e-eval/src/up_idle.c
@@ -277,11 +277,10 @@ static void up_idlepm(void)
{
/* Resume normal operation */
- newstate = PM_NORMAL:
+ newstate = PM_NORMAL;
}
}
else
-#endif
{
/* Let the PM system decide, which power saving level can be obtained */
@@ -413,7 +412,7 @@ errout:
}
#else
# define up_idlepm()
-#endif
+#endif /* CONFIG_PM */
/****************************************************************************
* Public Functions