From 3872d004bcd6713ef48444a565c40bcb0c9bc389 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 22 May 2007 21:00:09 +0000 Subject: [PATCH] Reading timer now quicker, embryo for possible future drift configuration --- cpu/msp430/rtimer-arch.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cpu/msp430/rtimer-arch.h b/cpu/msp430/rtimer-arch.h index 0a19ddf03..1b3aac83c 100644 --- a/cpu/msp430/rtimer-arch.h +++ b/cpu/msp430/rtimer-arch.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rtimer-arch.h,v 1.2 2007/04/03 19:04:27 adamdunkels Exp $ + * $Id: rtimer-arch.h,v 1.3 2007/05/22 21:00:09 adamdunkels Exp $ */ /** @@ -41,6 +41,13 @@ #ifndef __RTIMER_ARCH_H__ #define __RTIMER_ARCH_H__ +#include +#include "sys/rtimer.h" + #define RTIMER_ARCH_SECOND 4096 +void rtimer_arch_set(rtimer_clock_t t); + +#define rtimer_arch_now() (TBR) + #endif /* __RTIMER_ARCH_H__ */