From 99a540fd0d80c4047d78bc32cce25250e5fc94d4 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 27 Oct 2009 15:33:24 +0000 Subject: [PATCH] macro renamed to SPI_IS_ENABLED() to avoid confusions --- platform/sky/contiki-conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/sky/contiki-conf.h b/platform/sky/contiki-conf.h index 4988d6a94..d87afd856 100644 --- a/platform/sky/contiki-conf.h +++ b/platform/sky/contiki-conf.h @@ -1,5 +1,5 @@ /* -*- C -*- */ -/* @(#)$Id: contiki-conf.h,v 1.61 2009/10/27 15:25:02 fros4943 Exp $ */ +/* @(#)$Id: contiki-conf.h,v 1.62 2009/10/27 15:33:24 fros4943 Exp $ */ #ifndef CONTIKI_CONF_H #define CONTIKI_CONF_H @@ -249,7 +249,7 @@ typedef unsigned long off_t; #define SPI_ENABLE() ( P4OUT &= ~BV(CSN) ) /* ENABLE CSn (active low) */ #define SPI_DISABLE() ( P4OUT |= BV(CSN) ) /* DISABLE CSn (active low) */ -#define SPI_ENABLED() ( (P4OUT & BV(CSN)) != BV(CSN) ) +#define SPI_IS_ENABLED() ( (P4OUT & BV(CSN)) != BV(CSN) ) #ifdef PROJECT_CONF_H #include PROJECT_CONF_H