]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmicore/MoteClockC.nc
Remove unnecessary wiring for tmicore and derivative platforms.
[tinyos-2.x.git] / tos / platforms / tmicore / MoteClockC.nc
index 46da184eac1311a3461f54e1134d900508119a0d..4a76d7a30b47846e4c274d9db5d3050e19b1eef1 100644 (file)
  * $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 <smckown@gmail.com>
+ * @author R. Steve McKown <rsmckown@gmail.com>
  */
  
-#define MS430DCOSPEC_H
-#define TARGET_DCO_KHZ 8192 // 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;
 }
@@ -46,7 +42,6 @@ implementation {
   components MoteClockP;
   MoteClockInit = MoteClockP.Init;
 
-  components Msp430ClockC;
+  components new Msp430ClockC(8192, 32);
   MoteClockP.SubInit -> Msp430ClockC.Init;
-  //MoteClockP.Msp430ClockInit -> Msp430ClockC;
 }