From 365db27f92970a510566d74da653df1e5f1ecfd2 Mon Sep 17 00:00:00 2001 From: joxe Date: Tue, 22 Jun 2010 06:48:43 +0000 Subject: [PATCH] moved CC2420 configuration into the conf file --- platform/stepper-robot/contiki-conf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/stepper-robot/contiki-conf.h b/platform/stepper-robot/contiki-conf.h index 537cf0288..50115db28 100644 --- a/platform/stepper-robot/contiki-conf.h +++ b/platform/stepper-robot/contiki-conf.h @@ -37,6 +37,9 @@ typedef unsigned int uip_stats_t; #define SPI_WAITFOREORx() while ((*AT91C_SPI_SR & AT91C_SPI_RDRF) == 0) /* CC2420 control pins */ +/* LOOP count for waiting 20 symbols in the CC2420 code - same as MSP? */ +#define CC2420_CONF_SYMBOL_LOOP_COUNT 800 + #define FIFO_IS_1 (*AT91C_PIOA_PDSR & AT91C_PIO_PA2) #define VREG_IS_1 1 /* Hardwired */