From: richardbarry Date: Thu, 6 Jun 2013 11:15:08 +0000 (+0000) Subject: Place DSB instruction before WFI instruction in EFMG890F128 demo. X-Git-Tag: V7.5.0~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38ec8dce49bb085dad44bc39328547cbd1765654;p=freertos Place DSB instruction before WFI instruction in EFMG890F128 demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1909 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/main.c b/FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/main.c index 505ddb66f..2ebff1abd 100644 --- a/FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/main.c +++ b/FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/main.c @@ -286,6 +286,7 @@ static void prvLowPowerMode1( void ) SCB->SCR &= ~( 1 << SCB_SCR_SLEEPDEEP_Pos ); /* Power down. */ + __DSB(); __WFI(); }