From 808116ff5651e05add4587a99e6ea374f5723240 Mon Sep 17 00:00:00 2001 From: nifi Date: Mon, 10 May 2010 11:32:44 +0000 Subject: [PATCH] Made SFD timestamps configurable via external definition --- cpu/msp430/cc2420-arch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpu/msp430/cc2420-arch.c b/cpu/msp430/cc2420-arch.c index 045821b0d..fc40f0ee7 100644 --- a/cpu/msp430/cc2420-arch.c +++ b/cpu/msp430/cc2420-arch.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)$Id: cc2420-arch.c,v 1.7 2010/01/19 20:35:41 adamdunkels Exp $ + * @(#)$Id: cc2420-arch.c,v 1.8 2010/05/10 11:32:44 nifi Exp $ */ #include @@ -38,7 +38,9 @@ #include "dev/spi.h" #include "dev/cc2420.h" +#ifndef CONF_SFD_TIMESTAMPS #define CONF_SFD_TIMESTAMPS 0 +#endif /* CONF_SFD_TIMESTAMPS */ #ifdef CONF_SFD_TIMESTAMPS #include "cc2420-arch-sfd.h"