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

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4933 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-07-11 23:26:27 +00:00
parent 56e3553818
commit 6a33da2088

View File

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