From a5d7b197eb49752411ba255f5ca679be5e3ac901 Mon Sep 17 00:00:00 2001 From: joxe Date: Mon, 21 Jun 2010 19:09:35 +0000 Subject: [PATCH] added support for the Z1 platform and its 8Mhz --- core/dev/cc2420.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/dev/cc2420.c b/core/dev/cc2420.c index 6a16d4d93..96c8a4ed3 100644 --- a/core/dev/cc2420.c +++ b/core/dev/cc2420.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: cc2420.c,v 1.53 2010/06/14 19:19:16 adamdunkels Exp $ + * @(#)$Id: cc2420.c,v 1.54 2010/06/21 19:09:35 joxe Exp $ */ /* * This code is almost device independent and should be easy to port. @@ -366,6 +366,8 @@ cc2420_transmit(unsigned short payload_len) #define LOOP_20_SYMBOLS 800 /* 326us (msp430 @ 2.4576MHz) */ #elif __AVR__ #define LOOP_20_SYMBOLS 500 /* XXX */ +#elif ZOLERTIA_Z1 +#define LOOP_20_SYMBOLS 1302 /* 326us msp430X @ 8MHz */ #endif #if WITH_SEND_CCA