X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Ftimer%2FMsp430ClockC.nc;h=e2247fad343baefb1ba36174495a74ee717bbca1;hb=b8c2d56565db4f73290d80e081fcd4a8243586b8;hp=7feab6ab025890a8b12bc76561e37ff99c1ba3e8;hpb=5338a4ca5ad7d75bb955024d60c6477495c1fccf;p=tinyos-2.x.git diff --git a/tos/chips/msp430/timer/Msp430ClockC.nc b/tos/chips/msp430/timer/Msp430ClockC.nc index 7feab6ab..e2247fad 100644 --- a/tos/chips/msp430/timer/Msp430ClockC.nc +++ b/tos/chips/msp430/timer/Msp430ClockC.nc @@ -23,14 +23,14 @@ * @author Cory Sharp */ -configuration Msp430ClockC +generic configuration Msp430ClockC(uint16_t TARGET_DCO_KHZ, uint16_t ACLK_KHZ) { provides interface Init; provides interface Msp430ClockInit; } implementation { - components Msp430ClockP, Msp430TimerC, McuSleepC; + components new Msp430ClockP(TARGET_DCO_KHZ, ACLK_KHZ), Msp430TimerC, McuSleepC; Init = Msp430ClockP; Msp430ClockInit = Msp430ClockP;