X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Fclock%2FMsp430ClockC.nc;h=ec37861a102daeb778863254eabfd225d74ad136;hb=4032fd4f0aca0fbcf920c01e553bb8e7cca163fa;hp=5249fbe0ac6ba1f8de65d0e52ae6788ecc08ed22;hpb=346f6f7b48d1ebed9d5048f0e7b4d297a15aeb4d;p=tinyos-2.x.git diff --git a/tos/chips/msp430/clock/Msp430ClockC.nc b/tos/chips/msp430/clock/Msp430ClockC.nc index 5249fbe0..ec37861a 100644 --- a/tos/chips/msp430/clock/Msp430ClockC.nc +++ b/tos/chips/msp430/clock/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; + components new Msp430ClockP(TARGET_DCO_KHZ, ACLK_KHZ); Init = Msp430ClockP; Msp430ClockInit = Msp430ClockP;