mirror of https://github.com/ARMmbed/mbed-os.git
Revert "Disable sleep on STM32F4 as an workaround for stability issues."
This reverts commit c3ef3cac09
.
pull/12726/head
parent
aa375c43fe
commit
cc75c59d82
|
@ -391,7 +391,7 @@ void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry)
|
||||||
if(SLEEPEntry == PWR_SLEEPENTRY_WFI)
|
if(SLEEPEntry == PWR_SLEEPENTRY_WFI)
|
||||||
{
|
{
|
||||||
/* Request Wait For Interrupt */
|
/* Request Wait For Interrupt */
|
||||||
__NOP();
|
__WFI();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue