mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-21 14:01:56 -04:00
Place DSB instruction before WFI instruction in EFMG890F128 demo.
This commit is contained in:
parent
64bd0689c7
commit
3fbee4f0a8
|
@ -286,6 +286,7 @@ static void prvLowPowerMode1( void )
|
||||||
SCB->SCR &= ~( 1 << SCB_SCR_SLEEPDEEP_Pos );
|
SCB->SCR &= ~( 1 << SCB_SCR_SLEEPDEEP_Pos );
|
||||||
|
|
||||||
/* Power down. */
|
/* Power down. */
|
||||||
|
__DSB();
|
||||||
__WFI();
|
__WFI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue