X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2Fsensors%2FAeroVaneReadC.nc;h=1b2fcf2e84d4e919f6a7eecb56a6637f205c8889;hb=0f58276b9e5d322d87624bd7c11ff7eb5c2c8b57;hp=01fa7d50d65eb3133d9ba964626d51c29584a31c;hpb=7373db28ff8b66edda83925025fbffea6ed88148;p=tinyos-2.x.git diff --git a/tos/platforms/tmirws/sensors/AeroVaneReadC.nc b/tos/platforms/tmirws/sensors/AeroVaneReadC.nc index 01fa7d50..1b2fcf2e 100644 --- a/tos/platforms/tmirws/sensors/AeroVaneReadC.nc +++ b/tos/platforms/tmirws/sensors/AeroVaneReadC.nc @@ -40,20 +40,11 @@ configuration AeroVaneReadC { provides interface Notify; } implementation { -#if 0 - components new AeroVaneReadP(28800U); -#else - components new AeroVaneReadP(900); -#endif + components new AeroVaneReadP(900); /* 28800 clocks on 32768 Hz crystal */ Notify = AeroVaneReadP; -#if 0 - components new Alarm32khz16C(); - AeroVaneReadP.Alarm -> Alarm32khz16C; -#else components new TimerMilliC(); AeroVaneReadP.Timer -> TimerMilliC; -#endif components WindVaneReadC; AeroVaneReadP.Read -> WindVaneReadC;