diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-04 22:04:41 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-04 22:04:41 +0100 |
commit | 435937bdd378c8f739de15ba26fc9c7f2325f4e9 (patch) | |
tree | da3381a5fd7f330fe373598365e15002998b4b75 | |
parent | e66869001f1258b9ccb24ee70fa4980fd839c7f5 (diff) |
cpu: make cpu_idle use the wfi instruction
-rw-r--r-- | src/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -167,9 +167,7 @@ cpu_intr_enabled(void) static inline void cpu_idle(void) { -#if LOW_POWER asm volatile("wfi" : : : "memory"); -#endif } static inline void |