summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-02 13:37:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-02 13:37:28 +0000
commit439f35c8b342d6bab2e9ca59cfb0e6a18c7adf21 (patch)
treefe120379f9e5870a741b4ec5a7f88e3f70c2df3b /nuttx/configs
parente4d98112c47ca1b75471889ec34cbfc06bf701c0 (diff)
downloadpx4-nuttx-439f35c8b342d6bab2e9ca59cfb0e6a18c7adf21.tar.gz
px4-nuttx-439f35c8b342d6bab2e9ca59cfb0e6a18c7adf21.tar.bz2
px4-nuttx-439f35c8b342d6bab2e9ca59cfb0e6a18c7adf21.zip
Fix workqueue assertion; STM32 power management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5079 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-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 910d0a9d6..7b682e2bb 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