CVS: examples/uart_test main.c,1.1,1.2
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/examples/uart_test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23588/examples/uart_test
Modified Files:
main.c
Log Message:
update to new headerfiles
Index: main.c
===================================================================
RCS file: /cvsroot/mspgcc/examples/uart_test/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- main.c 10 Oct 2003 03:05:58 -0000 1.1
+++ main.c 18 Aug 2005 20:37:21 -0000 1.2
@@ -37,22 +37,22 @@
P2IES = P2IES_INIT; //init port interrupts
P2IE = P2IE_INIT;
-#ifdef __msp430_have_port3
+#ifdef __MSP430_HAS_PORT3__
P3OUT = P3OUT_INIT; //Init output data of port3
P3SEL = P3SEL_INIT; //Select port or module -function on port3
P3DIR = P3DIR_INIT; //Init port direction register of port3
#endif
-#ifdef __msp430_have_port4
+#ifdef __MSP430_HAS_PORT4__
P4OUT = P4OUT_INIT; //Init output data of port4
P4SEL = P4SEL_INIT; //Init port or module -function on port4
P4DIR = P4DIR_INIT; //Init port direction register of port4
#endif
-#ifdef __msp430_have_port5
+#ifdef __MSP430_HAS_PORT5__
P5OUT = P5OUT_INIT; //Init output data of port5
P5SEL = P5SEL_INIT; //Init port or module -function on port5
P5DIR = P5DIR_INIT; //Init port direction register of port5
#endif
-#ifdef __msp430_have_port6
+#ifdef __MSP430_HAS_PORT6__
P6OUT = P6OUT_INIT; //Init output data of port6
P6DIR = P6DIR_INIT; //Init port direction register of port6
P6SEL = P6SEL_INIT; //Init port or module -function on port6
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf