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

View File

@ -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