From 0f564f876bf22d1c6dd027d29653cd589fb4c4ba Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 4 Mar 2010 16:36:58 -0700 Subject: [PATCH] Remove unnecessary wiring for tmicore and derivative platforms. --- tos/platforms/tmicore/MoteClockC.nc | 1 - tos/platforms/tmicore/MoteClockP.nc | 25 +------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) 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(); - } } -- 2.39.2