]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Disable Msp430DcoCalibP, because Msp430DcoCalibP is broken and will incorrectly
authorcssharp <cssharp>
Fri, 19 Jan 2007 19:06:46 +0000 (19:06 +0000)
committercssharp <cssharp>
Fri, 19 Jan 2007 19:06:46 +0000 (19:06 +0000)
adjust TimerA because it does not take into account MCU sleep.

tos/chips/msp430/timer/Msp430ClockC.nc
tos/chips/msp430/timer/Msp430DcoCalibP.nc

index 158fad6c78d371daee8c0e9be0d6ff7988cd464c..ecbb629ccd7ab4452af9f2cdba46851b58a11ec8 100644 (file)
@@ -30,9 +30,7 @@ configuration Msp430ClockC
 }
 implementation
 {
-  components Msp430ClockP
-           , Msp430DcoCalibC  //perpetual recalibration with each ACLK overflow
-           ;
+  components Msp430ClockP;
 
   Init = Msp430ClockP;
   Msp430ClockInit = Msp430ClockP;
index b0127eed6d15d04a3aea307630f570baf0e90faf..d75e9aadc07588990359c778e1a8e695315890cb 100644 (file)
@@ -23,6 +23,8 @@
  * @author Cory Sharp <cssharp@eecs.berkeley.edu>
  */
 
+#error "Msp430DcoCalibP is broken and will incorrectly adjust TimerA because it does not take into account MCU sleep."
+
 module Msp430DcoCalibP
 {
   uses interface Msp430Timer as TimerMicro;