]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Turn on TimerA. This is done for all other msp430 platforms, so we want to
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Sun, 14 Sep 2008 14:50:06 +0000 (14:50 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:00:59 +0000 (20:00 -0700)
be consistent for now.  A better solution is resource management to decide
when the timers need to run so they can be off when not needed to safe
power.

tos/platforms/tmicore/MoteClockP.nc

index 84acca22aea9d278c2628f310c8a3faafff65a5e..921bbc92b3c18d994fccc47ee26d2b2719b875dc 100644 (file)
@@ -61,7 +61,8 @@ implementation {
        BCSCTL2 = SELM_0 | DIVM_0 | DIVS_3;
        DCOCTL = CALDCO_8MHZ;
 
-       /* Turn on TimerB, driven by ACLK */
+       /* Turn on timers A and B */
+       TACTL |= MC_2;
        TBCTL |= MC_2;
       }
       return SUCCESS;