PM update

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4982 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-27 00:14:38 +00:00
parent 6ea6b7d6b8
commit 9b7cbb006a
7 changed files with 100 additions and 18 deletions
+4
View File
@@ -217,6 +217,10 @@ int pm_changestate(enum pm_state_e newstate)
pm_changeall(newstate);
g_pmglobals.state = newstate;
/* Restore the interrupt state */
irqrestore(flags);
return ret;
}