From dc205a69824198ce039c861543e1968e5e5848d8 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Thu, 17 May 2007 00:24:29 +0000 Subject: [PATCH] Added error return value --- core/sys/rtimer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/sys/rtimer.h b/core/sys/rtimer.h index 0a4ebafd1..04d127730 100644 --- a/core/sys/rtimer.h +++ b/core/sys/rtimer.h @@ -45,7 +45,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: rtimer.h,v 1.3 2007/03/31 11:20:20 adamdunkels Exp $ + * @(#)$Id: rtimer.h,v 1.4 2007/05/17 00:24:29 adamdunkels Exp $ */ #ifndef __RTIMER_H__ #define __RTIMER_H__ @@ -79,6 +79,7 @@ enum { RTIMER_OK, RTIMER_ERR_FULL, RTIMER_ERR_TIME, + RTIMER_ERR_ALREADY_SCHEDULED, }; /** @@ -131,7 +132,7 @@ void rtimer_run_next(void); void rtimer_arch_init(void); void rtimer_arch_schedule(rtimer_clock_t t); -rtimer_clock_t rtimer_arch_now(void); +/*rtimer_clock_t rtimer_arch_now(void);*/ #define RTIMER_SECOND RTIMER_ARCH_SECOND