Place DSB instruction before WFI instruction in EFMG890F128 demo.

pull/4/head
Richard Barry 12 years ago
parent 64bd0689c7
commit 3fbee4f0a8

@ -286,6 +286,7 @@ static void prvLowPowerMode1( void )
SCB->SCR &= ~( 1 << SCB_SCR_SLEEPDEEP_Pos );
/* Power down. */
__DSB();
__WFI();
}

Loading…
Cancel
Save