arch/arm/src/nrf52/nrf52_idle.c: disable WFI in up_idle

This commit is contained in:
raiden00pl 2020-06-09 12:24:42 +02:00 committed by Abdelatif Guettouche
parent e661ac5ab1
commit 8708e34b29

View File

@ -176,10 +176,16 @@ void up_idle(void)
up_idlepm();
/* Sleep until an interrupt occurs to save power */
/* Sleep until an interrupt occurs to save power
*
* REVISIT: The SysTick's clock will only tick when the CPU is
* running (not in WFE/WFI) or when the system is in debug interface mode.
*/
#if 0
BEGIN_IDLE();
asm("WFI");
END_IDLE();
#endif
#endif
}