From 38ec8dce49bb085dad44bc39328547cbd1765654 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Thu, 6 Jun 2013 11:15:08 +0000 Subject: [PATCH] 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 --- FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/main.c | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.39.5