Platform 0 was matching by default

This commit is contained in:
dak664 2010-02-26 21:15:28 +00:00
parent 195f5939c4
commit 844b3a34f7
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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