From 62b7ef517304ac5c0abdcf7ef64135222b663a50 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Fri, 4 Jul 2008 00:02:21 +0000 Subject: [PATCH] Moved energest from lib/ to sys/ --- cpu/msp430/rtimer-arch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpu/msp430/rtimer-arch.c b/cpu/msp430/rtimer-arch.c index 3240a0c4b..d2c96dc63 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.6 2007/11/19 22:38:57 joxe Exp $ + * $Id: rtimer-arch.c,v 1.7 2008/07/04 00:02:21 adamdunkels Exp $ */ /** @@ -41,7 +41,7 @@ #include #include -#include "lib/energest.h" +#include "sys/energest.h" #include "sys/rtimer.h" #define DEBUG 0 @@ -69,6 +69,7 @@ rtimer_arch_init(void) /* Select SMCLK (2.4576MHz), clear TAR; This makes the rtimer count the number of processor cycles executed by the CPU. */ //TBCTL = TBSSEL1 | TBCLR; + /* Select ACLK 32768Hz clock, divide by 8 */ TBCTL = TBSSEL0 | TBCLR | ID_3;