diff --git a/cpu/avr/radio/rf230/hal.h b/cpu/avr/radio/rf230/hal.h index b2a2d19c7..b15c3b226 100644 --- a/cpu/avr/radio/rf230/hal.h +++ b/cpu/avr/radio/rf230/hal.h @@ -47,7 +47,7 @@ * \file * \brief This file contains low-level radio driver code. * - * $Id: hal.h,v 1.4 2008/11/29 15:55:02 c_oflynn Exp $ + * $Id: hal.h,v 1.5 2010/02/26 21:15:28 dak664 Exp $ */ #ifndef HAL_AVR_H @@ -70,11 +70,12 @@ * \{ */ /* Define all possible revisions here */ +// Don't use zero, it will match if undefined! // RAVEN_D : Raven kit with LCD display // RAVENUSB_C : used for USB key or Raven card // RCB_B : RZ200 kit from Atmel based on 1281V // ZIGBIT : Zigbit module from Meshnetics -#define RAVEN_D 0 +#define RAVEN_D 4 #define RAVENUSB_C 1 #define RCB_B 2 #define ZIGBIT 3 diff --git a/cpu/avr/radio/rf230bb/hal.h b/cpu/avr/radio/rf230bb/hal.h index fc202183c..ed77ee030 100644 --- a/cpu/avr/radio/rf230bb/hal.h +++ b/cpu/avr/radio/rf230bb/hal.h @@ -47,7 +47,7 @@ * \file * \brief This file contains low-level radio driver code. * - * $Id: hal.h,v 1.2 2010/02/16 21:41:24 dak664 Exp $ + * $Id: hal.h,v 1.3 2010/02/26 21:15:29 dak664 Exp $ */ #ifndef HAL_AVR_H @@ -70,11 +70,12 @@ * \{ */ /* Define all possible revisions here */ +// Don't use zero, it will match if undefined! // RAVEN_D : Raven kit with LCD display // RAVENUSB_C : used for USB key or Raven card // RCB_B : RZ200 kit from Atmel based on 1281V // ZIGBIT : Zigbit module from Meshnetics -#define RAVEN_D 0 +#define RAVEN_D 4 #define RAVENUSB_C 1 #define RCB_B 2 #define ZIGBIT 3 diff --git a/platform/avr-raven/contiki-conf.h b/platform/avr-raven/contiki-conf.h index 621e6856f..9241c3b47 100644 --- a/platform/avr-raven/contiki-conf.h +++ b/platform/avr-raven/contiki-conf.h @@ -51,7 +51,7 @@ typedef int32_t s32_t; */ #define MCU_MHZ 8 #define PLATFORM PLATFORM_AVR -/*TODO:Who defines RAVEN_REVISION = RAVEN_D needed by hal.h? */ +#define RAVEN_REVISION RAVEN_D /* Clock ticks per second */ #define CLOCK_CONF_SECOND 125