From 9831f02eba5e37f1d4f7841f2af5f33ce3f29d08 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Mon, 5 Apr 2010 15:13:50 +0000 Subject: [PATCH] Replaced dummy code with code taken from 'native'. --- cpu/6502/sys/rtimer-arch.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cpu/6502/sys/rtimer-arch.h b/cpu/6502/sys/rtimer-arch.h index df84f79de..6f45d698b 100644 --- a/cpu/6502/sys/rtimer-arch.h +++ b/cpu/6502/sys/rtimer-arch.h @@ -28,13 +28,16 @@ * * This file is part of the Contiki operating system. * - * $Id: rtimer-arch.h,v 1.3 2008/03/28 22:38:03 oliverschmidt Exp $ + * $Id: rtimer-arch.h,v 1.4 2010/04/05 15:13:50 oliverschmidt Exp $ */ #ifndef __RTIMER_ARCH_H__ #define __RTIMER_ARCH_H__ -#define RTIMER_ARCH_SECOND 1 -#define rtimer_arch_now() (0) +#include "contiki-conf.h" + +#define RTIMER_ARCH_SECOND CLOCK_CONF_SECOND + +#define rtimer_arch_now() clock_time() #endif /* __RTIMER_ARCH_H__ */