removed redundant code - configuration of basic clock subsystem in clock and rtimer_arch

This commit is contained in:
joxe 2007-09-03 19:22:37 +00:00
parent 6441821fc3
commit aaae9f4cf8
2 changed files with 3 additions and 7 deletions

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* @(#)$Id: clock.c,v 1.7 2007/05/22 20:59:27 adamdunkels Exp $ * @(#)$Id: clock.c,v 1.8 2007/09/03 19:22:37 joxe Exp $
*/ */
@ -120,8 +120,6 @@ clock_init(void)
count = 0; count = 0;
BCSCTL1 &= ~(DIVA1 + DIVA0); /* remove /8 divisor from ACLK again */
/* Enable interrupts. */ /* Enable interrupts. */
eint(); eint();

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: rtimer-arch.c,v 1.4 2007/05/22 20:59:47 adamdunkels Exp $ * $Id: rtimer-arch.c,v 1.5 2007/09/03 19:22:37 joxe Exp $
*/ */
/** /**
@ -82,8 +82,6 @@ rtimer_arch_init(void)
/* Start Timer_B in continuous mode. */ /* Start Timer_B in continuous mode. */
TBCTL |= MC1; TBCTL |= MC1;
BCSCTL1 &= ~(DIVA1 + DIVA0); /* remove /8 divisor from ACLK again */
/* Enable interrupts. */ /* Enable interrupts. */
eint(); eint();
} }