diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-14 08:00:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-14 08:00:26 +0000 |
commit | f4b73385582f468882abe2e49c02b8fd689b9f81 (patch) | |
tree | 3f88daded695c91a0f721bda922c514427849267 /os/ports/GCC/PPC/chcore.h | |
parent | 767f1a01b21d9b228e0035fb839cd859519034db (diff) | |
download | ChibiOS-f4b73385582f468882abe2e49c02b8fd689b9f81.tar.gz ChibiOS-f4b73385582f468882abe2e49c02b8fd689b9f81.tar.bz2 ChibiOS-f4b73385582f468882abe2e49c02b8fd689b9f81.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4655 35acf78f-673a-0410-8e92-d51de3d6d3f4
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"); \
}
|