]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Remove unnecessary wiring for tmicore and derivative platforms.
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 4 Mar 2010 23:36:58 +0000 (16:36 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 4 Mar 2010 23:45:48 +0000 (16:45 -0700)
tos/platforms/tmicore/MoteClockC.nc
tos/platforms/tmicore/MoteClockP.nc

index 7c5598f50c5da0649fe711eeb5437526afeb3956..4a76d7a30b47846e4c274d9db5d3050e19b1eef1 100644 (file)
@@ -44,5 +44,4 @@ implementation {
 
   components new Msp430ClockC(8192, 32);
   MoteClockP.SubInit -> Msp430ClockC.Init;
-  MoteClockP.Msp430ClockInit -> Msp430ClockC;
 }
index 6b5359af5e7e6426914cd6d8b54f38b41a50646f..68dcdd06e0ec42ddf417ff22ef16846f2106b60a 100644 (file)
 
 module MoteClockP {
   provides interface Init;
-  uses {
-    interface Init as SubInit;
-    interface Msp430ClockInit;
-  }
+  uses interface Init as SubInit;
 }
 
 implementation {
@@ -73,24 +70,4 @@ implementation {
     for (i = 0; i < 0xfffe; i++); /* ensure LFXT1 is stable */
     return call SubInit.init();
   }
-
-  event void Msp430ClockInit.setupDcoCalibrate()
-  {
-    call Msp430ClockInit.defaultSetupDcoCalibrate();
-  }
-
-  event void Msp430ClockInit.initClocks()
-  {
-    call Msp430ClockInit.defaultInitClocks();
-  }
-
-  event void Msp430ClockInit.initTimerA()
-  {
-    call Msp430ClockInit.defaultInitTimerA();
-  }
-
-  event void Msp430ClockInit.initTimerB()
-  {
-    call Msp430ClockInit.defaultInitTimerB();
-  }
 }