/*#*
*#* $Log$
+ *#* Revision 1.10 2006/05/18 00:38:42 bernie
+ *#* Work around missing ARCH_FREERTOS symbol.
+ *#*
*#* Revision 1.9 2006/03/22 09:49:09 bernie
*#* Add FreeRTOS support.
*#*
#elif CPU_AVR
#include <avr/io.h>
#include <cfg/macros.h> // BV()
- #elif (ARCH & ARCH_FREERTOS)
+ #elif defined(ARCH_FREERTOS) && (ARCH & ARCH_FREERTOS)
#include <task.h> /* taskYIELD() */
#else
#error unknown CPU
#elif OS_POSIX
static struct timeval tv = { 0, 0 };
select(0, NULL, NULL, NULL, &tv);
- #elif (ARCH & ARCH_FREERTOS)
+ #elif defined(ARCH_FREERTOS) && (ARCH & ARCH_FREERTOS)
vTaskDelay(1);
#elif CPU_AVR
__asm__ __volatile__ ("wdr");
(void)timeout;
#elif OS_POSIX
(void)timeout; // NOP
- #elif (ARCH & ARCH_FREERTOS)
+ #elif defined(ARCH_FREERTOS) && (ARCH & ARCH_FREERTOS)
/* nop */
#elif CPU_AVR
WDTCR |= BV(WDCE) | BV(WDE);
// NOP
#elif OS_POSIX
// NOP
- #elif (ARCH & ARCH_FREERTOS)
+ #elif defined(ARCH_FREERTOS) && (ARCH & ARCH_FREERTOS)
/* nop */
#elif CPU_AVR
WDTCR |= BV(WDE);
// NOP
#elif OS_POSIX
// NOP
- #elif (ARCH & ARCH_FREERTOS)
+ #elif defined(ARCH_FREERTOS) && (ARCH & ARCH_FREERTOS)
/* nop */
#elif CPU_AVR
WDTCR |= BV(WDCE) | BV(WDE);