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:
parent
56e3553818
commit
6a33da2088
|
@ -218,6 +218,7 @@ static void up_idlepm(void)
|
|||
|
||||
up_rtc_cancelalarm();
|
||||
pm_changestate(PM_NORMAL);
|
||||
newstate = PM_NORMAL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue