mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Moved energest from lib/ to sys/
This commit is contained in:
parent
b88b231c62
commit
62b7ef5173
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user