forked from Archive/PX4-Autopilot
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:
parent
4f1e53b492
commit
d2be14e291
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue