diff options
Diffstat (limited to 'os/ports/GCC/PPC/chcore.h')
-rw-r--r-- | os/ports/GCC/PPC/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h index b0bf57017..ffdc32fe3 100644 --- a/os/ports/GCC/PPC/chcore.h +++ b/os/ports/GCC/PPC/chcore.h @@ -359,8 +359,8 @@ struct context { * @details This port function is implemented as inlined code for performance
* reasons.
*/
-#if ENABLE_WFI_IDLE != 0
-#ifndef port_wait_for_interrupt
+#if PPC_ENABLE_WFI_IDLE
+#if !defined(port_wait_for_interrupt)
#define port_wait_for_interrupt() { \
asm volatile ("wait" : : : "memory"); \
}
|