From: R. Steve McKown Date: Thu, 4 Mar 2010 23:36:58 +0000 (-0700) Subject: Remove unnecessary wiring for tmicore and derivative platforms. X-Git-Tag: debian/2.1.0-4-1tmi~1^2~15 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=0f564f876bf22d1c6dd027d29653cd589fb4c4ba Remove unnecessary wiring for tmicore and derivative platforms. --- diff --git a/tos/platforms/tmicore/MoteClockC.nc b/tos/platforms/tmicore/MoteClockC.nc index 7c5598f5..4a76d7a3 100644 --- a/tos/platforms/tmicore/MoteClockC.nc +++ b/tos/platforms/tmicore/MoteClockC.nc @@ -44,5 +44,4 @@ implementation { components new Msp430ClockC(8192, 32); MoteClockP.SubInit -> Msp430ClockC.Init; - MoteClockP.Msp430ClockInit -> Msp430ClockC; } diff --git a/tos/platforms/tmicore/MoteClockP.nc b/tos/platforms/tmicore/MoteClockP.nc index 6b5359af..68dcdd06 100644 --- a/tos/platforms/tmicore/MoteClockP.nc +++ b/tos/platforms/tmicore/MoteClockP.nc @@ -35,10 +35,7 @@ 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(); - } }