Moved energest from lib/ to sys/

This commit is contained in:
adamdunkels 2008-07-04 00:02:21 +00:00
parent b88b231c62
commit 62b7ef5173

View file

@ -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 <io.h>
#include <signal.h>
#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;