diff --git a/cpu/msp430/clock.c b/cpu/msp430/clock.c index c8781a7ce..1f5c79eb5 100644 --- a/cpu/msp430/clock.c +++ b/cpu/msp430/clock.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: clock.c,v 1.20 2010/01/18 21:17:11 adamdunkels Exp $ + * @(#)$Id: clock.c,v 1.21 2010/01/30 14:03:35 adamdunkels Exp $ */ @@ -63,9 +63,7 @@ interrupt(TIMERA1_VECTOR) timera1 (void) { /* Make sure interrupt time is future */ do { - TACTL &= ~MC1; TACCR1 += INTERVAL; - TACTL |= MC1; ++count; /* Make sure the CLOCK_CONF_SECOND is a power of two, to ensure diff --git a/cpu/msp430/rtimer-arch.c b/cpu/msp430/rtimer-arch.c index 3d4aeacc7..e13b515c0 100644 --- a/cpu/msp430/rtimer-arch.c +++ b/cpu/msp430/rtimer-arch.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rtimer-arch.c,v 1.12 2010/01/18 21:17:11 adamdunkels Exp $ + * $Id: rtimer-arch.c,v 1.13 2010/01/30 14:03:35 adamdunkels Exp $ */ /** @@ -82,7 +82,6 @@ rtimer_arch_schedule(rtimer_clock_t t) { PRINTF("rtimer_arch_schedule time %u\n", t); - TACTL &= ~MC1; TACCR0 = t; - TACTL |= MC1; } +/*---------------------------------------------------------------------------*/