|
From: Lin Gu <li...@us...> - 2004-12-04 00:54:49
|
Update of /cvsroot/vert/vert-1.3/apps/Blink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14056/apps/Blink Modified Files: BlinkM.nc Log Message: shorter mag wake-up latency Index: BlinkM.nc =================================================================== RCS file: /cvsroot/vert/vert-1.3/apps/Blink/BlinkM.nc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BlinkM.nc 23 Nov 2004 03:27:20 -0000 1.3 --- BlinkM.nc 4 Dec 2004 00:54:02 -0000 1.4 *************** *** 51,55 **** **/ command result_t StdControl.init() { ! //////// call Leds.init(); return SUCCESS; } --- 51,55 ---- **/ command result_t StdControl.init() { ! call Leds.init(); return SUCCESS; } *************** *** 63,67 **** command result_t StdControl.start() { // Start a repeating timer that fires every 1000ms ! //////// return call Timer.start(TIMER_REPEAT, 1000); return 1; } --- 63,67 ---- command result_t StdControl.start() { // Start a repeating timer that fires every 1000ms ! return call Timer.start(TIMER_REPEAT, 1000); return 1; } *************** *** 85,89 **** event result_t Timer.fired() { ! /////// call Leds.redToggle(); /////// TOSH_CLR_YELLOW_LED_PIN(); return SUCCESS; --- 85,89 ---- event result_t Timer.fired() { ! call Leds.redToggle(); /////// TOSH_CLR_YELLOW_LED_PIN(); return SUCCESS; |