X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2Fsensors%2FAeroVaneReadC.nc;h=5ba23a9f4837351941ad97d293d977a100119df0;hb=de3bf162a7f3764ba43088c13e9e656c2a9ae4f1;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..5ba23a9f 100644 --- a/tos/platforms/tmirws/sensors/AeroVaneReadC.nc +++ b/tos/platforms/tmirws/sensors/AeroVaneReadC.nc @@ -40,27 +40,18 @@ 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; components AnemometerReadC; AeroVaneReadP.AnemometerControl -> AnemometerReadC.StdControl; - AeroVaneReadP.Count -> AnemometerReadC; + AeroVaneReadP.Revolutions -> AnemometerReadC; components new StateC(); AeroVaneReadP.State -> StateC;