CVS: examples/char_lcd main.c,1.6,1.7

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/examples/char_lcd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7723/examples/char_lcd

Modified Files:
	main.c 
Log Message:
use "wakeup" attribute instead of _BIC_SR_IRQ

Index: main.c
===================================================================
RCS file: /cvsroot/mspgcc/examples/char_lcd/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- main.c	13 Mar 2003 02:57:01 -0000	1.6
+++ main.c	12 Aug 2005 21:16:36 -0000	1.7
@@ -25,7 +25,7 @@
 it shoule be a clock ;-)
 it does not count days, but i think you'll get the idea :-)
 */
-interrupt (TIMERA0_VECTOR) INT_TimerA_CCR0(void) {
+wakeup interrupt (TIMERA0_VECTOR) INT_TimerA_CCR0(void) {
     CCR0 += ONESECOND;                  //setup next irq
     if (++s > 59) {                     //count seconds, up to one minute
         s = 0;                          //reset seconds and ...
@@ -37,7 +37,6 @@
             }
         }
     }
-    _BIC_SR_IRQ(LPM0_bits);
 }
 
 /**



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.