From a36421318022e360b3e5051d1a1ce966d566e7cc Mon Sep 17 00:00:00 2001 From: nifi Date: Thu, 14 Jan 2010 20:05:58 +0000 Subject: [PATCH] IRQ_PORTx is no longer used. Instead returning port number. --- cpu/msp430/dev/hwconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/msp430/dev/hwconf.h b/cpu/msp430/dev/hwconf.h index 7f280155a..34d850f06 100644 --- a/cpu/msp430/dev/hwconf.h +++ b/cpu/msp430/dev/hwconf.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: hwconf.h,v 1.2 2006/10/10 21:33:26 joxe Exp $ + * @(#)$Id: hwconf.h,v 1.3 2010/01/14 20:05:58 nifi Exp $ */ #ifndef __HWCONF_H__ #define __HWCONF_H__ @@ -54,6 +54,6 @@ static CC_INLINE int name##_IRQ_ENABLED() {return P##port##IE & (1 << bit);} \ static CC_INLINE void name##_IRQ_EDGE_SELECTD() {P##port##IES |= 1 << bit;} \ static CC_INLINE void name##_IRQ_EDGE_SELECTU() {P##port##IES &= ~(1 << bit);}\ static CC_INLINE int name##_CHECK_IRQ() {return P##port##IFG & (1 << bit);} \ -static CC_INLINE int name##_IRQ_PORT() {return IRQ_PORT##port;} +static CC_INLINE int name##_IRQ_PORT() {return port;} #endif /* __HWCONF_H__ */