From 6a33da208898f77a1fb49101f4b7a3804bb10942 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 11 Jul 2012 23:26:27 +0000 Subject: [PATCH] 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 --- configs/stm3210e-eval/src/up_idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm3210e-eval/src/up_idle.c b/configs/stm3210e-eval/src/up_idle.c index 05ae64bad8..a599962119 100644 --- a/configs/stm3210e-eval/src/up_idle.c +++ b/configs/stm3210e-eval/src/up_idle.c @@ -218,6 +218,7 @@ static void up_idlepm(void) up_rtc_cancelalarm(); pm_changestate(PM_NORMAL); + newstate = PM_NORMAL; } break;