From: smckown Date: Fri, 12 Sep 2008 18:53:58 +0000 (+0000) Subject: Msp430ClockC must pull in Msp430TimerC to attach the default Timer.overflow() X-Git-Tag: release/2.1.0-1~46 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=155929808405214eb334b8e41ad69875a1e6576e Msp430ClockC must pull in Msp430TimerC to attach the default Timer.overflow() for both Timers A and B. This was inadvertently removed recently not realizing its importance. --- diff --git a/tos/chips/msp430/timer/Msp430ClockC.nc b/tos/chips/msp430/timer/Msp430ClockC.nc index ec37861a..9051fc40 100644 --- a/tos/chips/msp430/timer/Msp430ClockC.nc +++ b/tos/chips/msp430/timer/Msp430ClockC.nc @@ -30,7 +30,7 @@ generic configuration Msp430ClockC(uint16_t TARGET_DCO_KHZ, uint16_t ACLK_KHZ) } implementation { - components new Msp430ClockP(TARGET_DCO_KHZ, ACLK_KHZ); + components new Msp430ClockP(TARGET_DCO_KHZ, ACLK_KHZ), Msp430TimerC; Init = Msp430ClockP; Msp430ClockInit = Msp430ClockP;