Turned rtimer_arch_now() from a (one line) function into a macro.

This commit is contained in:
oliverschmidt 2008-02-09 14:02:12 +00:00
parent 614fa668cd
commit a685acd23a
2 changed files with 5 additions and 9 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rtimer-arch.c,v 1.2 2007/03/31 11:19:08 adamdunkels Exp $
* $Id: rtimer-arch.c,v 1.3 2008/02/09 14:02:12 oliverschmidt Exp $
*/
/**
@ -85,9 +85,3 @@ rtimer_arch_schedule(rtimer_clock_t t)
setitimer(ITIMER_REAL, &val, NULL);
}
/*---------------------------------------------------------------------------*/
rtimer_clock_t
rtimer_arch_now(void)
{
return clock_time();
}
/*---------------------------------------------------------------------------*/