mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user