PM: Needs to set newstate to NORMAL when awakening from stop mode

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4933 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-07-11 23:26:27 +00:00
parent 4f1e53b492
commit d2be14e291
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ static void up_idlepm(void)
up_rtc_cancelalarm(); up_rtc_cancelalarm();
pm_changestate(PM_NORMAL); pm_changestate(PM_NORMAL);
newstate = PM_NORMAL;
} }
break; break;