Fix workqueue assertion; STM32 power management

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5079 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-09-02 13:37:28 +00:00
parent 1aecf42e57
commit fd75e325ce
+2 -3
View File
@@ -277,11 +277,10 @@ static void up_idlepm(void)
{ {
/* Resume normal operation */ /* Resume normal operation */
newstate = PM_NORMAL: newstate = PM_NORMAL;
} }
} }
else else
#endif
{ {
/* Let the PM system decide, which power saving level can be obtained */ /* Let the PM system decide, which power saving level can be obtained */
@@ -413,7 +412,7 @@ errout:
} }
#else #else
# define up_idlepm() # define up_idlepm()
#endif #endif /* CONFIG_PM */
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions