Skip to content

Commit a56a5d3

Browse files
author
Arto Kinnunen
authored
Merge pull request #12517 from teetak01/teetak01/sleep-workaround
[feature-wisun] Disable sleep on STM32F4 as an workaround for stability issues.
2 parents b512574 + c3ef3ca commit a56a5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_pwr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry)
391391
if(SLEEPEntry == PWR_SLEEPENTRY_WFI)
392392
{
393393
/* Request Wait For Interrupt */
394-
__WFI();
394+
__NOP();
395395
}
396396
else
397397
{

0 commit comments

Comments
 (0)