X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FMoteClockC.nc;h=4a76d7a30b47846e4c274d9db5d3050e19b1eef1;hb=0f564f876bf22d1c6dd027d29653cd589fb4c4ba;hp=2c125656af85ad030f26c82e0b84a46065813537;hpb=02d7b93b83a3bd5299b12bb3ed85c65860578f3d;p=tinyos-2.x.git diff --git a/tos/platforms/tmicore/MoteClockC.nc b/tos/platforms/tmicore/MoteClockC.nc index 2c125656..4a76d7a3 100644 --- a/tos/platforms/tmicore/MoteClockC.nc +++ b/tos/platforms/tmicore/MoteClockC.nc @@ -32,14 +32,9 @@ * $TOSDIR/tos/chips/msp430/timer/Msp430DcoSpec.h This is a little hokey. * I think I'd rather do it using a generic interface. * - * @author R. Steve McKown + * @author R. Steve McKown */ -#define MS430DCOSPEC_H -#define TARGET_DCO_KHZ 8192 // the target DCO clock rate in binary kHz -//#define TARGET_DCO_KHZ 4096 // the target DCO clock rate in binary kHz -#define ACLK_KHZ 32 // the ACLK rate in binary kHz - configuration MoteClockC { provides interface Init as MoteClockInit; } @@ -47,7 +42,6 @@ implementation { components MoteClockP; MoteClockInit = MoteClockP.Init; - components Msp430ClockC; + components new Msp430ClockC(8192, 32); MoteClockP.SubInit -> Msp430ClockC.Init; - //MoteClockP.Msp430ClockInit -> Msp430ClockC; }