CVS: msp430-libc/include msp430x54xx.h,1.3,1.4

"Sergey A. Borshch" <[email protected]> Sun, 22 Mar 2009 11:02:26 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10376

Modified Files:
	msp430x54xx.h 
Log Message:
#define's fix


Index: msp430x54xx.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x54xx.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- msp430x54xx.h	28 Feb 2009 12:16:13 -0000	1.3
+++ msp430x54xx.h	22 Mar 2009 11:02:17 -0000	1.4
@@ -47,7 +47,7 @@
 */
 #define SFRIE1_             0x0100  /* Interrupt Enable 1 */
 #define SFRIE1_L_           SFRIE1_
-#define SFRIE1_H_           (SFRIE1_+1)
+#define SFRIE1_H_           SFRIE1_ + 0x01
 sfrw(SFRIE1, SFRIE1_);
 sfrb(SFRIE1_L, SFRIE1_L_);
 sfrb(IE1, SFRIE1_L_);
@@ -64,7 +64,7 @@
 
 #define SFRIFG1_            0x0102  /* Interrupt Flag 1 */
 #define SFRIFG1_L_          SFRIFG1_
-#define SFRIFG1_H_          (SFRIFG1_+1)
+#define SFRIFG1_H_          SFRIFG1_ + 0x01
 sfrw(SFRIFG1, SFRIFG1_);
 sfrb(SFRIFG1_L, SFRIFG1_L_);
 sfrb(IFG1, SFRIFG1_L_);
@@ -82,7 +82,7 @@
 #define SFRRPCR_            0x0104  /* Reset pin control */
 sfrw(SFRRPCR, SFRRPCR_);
 #define SFRRPCR_L_          SFRRPCR_
-#define SFRRPCR_H_          (SFRRPCR_+1)
+#define SFRRPCR_H_          SFRRPCR_ + 0x01
 sfrb(SFRRPCR_L, SFRRPCR_L_);
 sfrb(SFRRPCR_H, SFRRPCR_H_);
 #define SYSNMI              (1<<0)  /* RST/NMI pin (0:Reset, 1: NMI) */


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com