[Tinyos-commits] CVS: tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430
HardwareC.nc, 1.1, 1.2
Joe Polastre
jpolastre at users.sourceforge.net
Mon Sep 19 14:52:06 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv602
Modified Files:
HardwareC.nc
Log Message:
if the watchdog password is invalid, the mote will reset. saves
program space from using while(1)
Index: HardwareC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430/HardwareC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HardwareC.nc 22 Jul 2005 17:40:10 -0000 1.1
--- HardwareC.nc 19 Sep 2005 21:52:04 -0000 1.2
***************
*** 43,48 ****
command void Hardware.reboot() {
! WDTCTL = WDT_ARST_1_9;
! while(1);
}
--- 43,47 ----
command void Hardware.reboot() {
! WDTCTL = 0;
}
More information about the Tinyos-commits
mailing list