mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 07:33:00 +00:00
arch/arm/src/nrf52/nrf52_idle.c: disable WFI in up_idle
This commit is contained in:
parent
e661ac5ab1
commit
8708e34b29
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue