From 439f35c8b342d6bab2e9ca59cfb0e6a18c7adf21 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Sep 2012 13:37:28 +0000 Subject: Fix workqueue assertion; STM32 power management git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5079 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/stm3210e-eval/src/up_idle.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nuttx/configs') 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 -- cgit v1.2.3