[Tinyos-commits] CVS: tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430
HardwareC.nc, 1.2, 1.3
Joe Polastre
jpolastre at users.sourceforge.net
Tue Oct 18 18:20:43 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32622/msp430
Modified Files:
HardwareC.nc
Log Message:
Jonathan was clearing the X2OFF oscillator bit, which causes the mote
to push power through the X2 oscillator port. This is very bad.
HardwareC has been changed to set the X2OFF bit, which keeps the power
consumption down to where it should be.
Index: HardwareC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/Deluge/TOSBoot/msp430/HardwareC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** HardwareC.nc 19 Sep 2005 21:52:04 -0000 1.2
--- HardwareC.nc 19 Oct 2005 01:20:41 -0000 1.3
***************
*** 38,42 ****
command void Hardware.init() {
! BCSCTL1 = RSEL0 | RSEL1 | RSEL2;
DCOCTL = DCO0 | DCO1 | DCO2;
}
--- 38,42 ----
command void Hardware.init() {
! BCSCTL1 = RSEL0 | RSEL1 | RSEL2 | XT2OFF;
DCOCTL = DCO0 | DCO1 | DCO2;
}
More information about the Tinyos-commits
mailing list