From: cssharp Date: Fri, 19 Jan 2007 19:06:46 +0000 (+0000) Subject: Disable Msp430DcoCalibP, because Msp430DcoCalibP is broken and will incorrectly X-Git-Tag: tinyos/2.0.1~223 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=e7705e1fe9f9da8a5562899fd3fa79267b1b73dd;p=tinyos-2.x.git Disable Msp430DcoCalibP, because Msp430DcoCalibP is broken and will incorrectly adjust TimerA because it does not take into account MCU sleep. --- diff --git a/tos/chips/msp430/timer/Msp430ClockC.nc b/tos/chips/msp430/timer/Msp430ClockC.nc index 158fad6c..ecbb629c 100644 --- a/tos/chips/msp430/timer/Msp430ClockC.nc +++ b/tos/chips/msp430/timer/Msp430ClockC.nc @@ -30,9 +30,7 @@ configuration Msp430ClockC } implementation { - components Msp430ClockP - , Msp430DcoCalibC //perpetual recalibration with each ACLK overflow - ; + components Msp430ClockP; Init = Msp430ClockP; Msp430ClockInit = Msp430ClockP; diff --git a/tos/chips/msp430/timer/Msp430DcoCalibP.nc b/tos/chips/msp430/timer/Msp430DcoCalibP.nc index b0127eed..d75e9aad 100644 --- a/tos/chips/msp430/timer/Msp430DcoCalibP.nc +++ b/tos/chips/msp430/timer/Msp430DcoCalibP.nc @@ -23,6 +23,8 @@ * @author Cory Sharp */ +#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;