If rtimer_arch_now() is mapped to clock_time() it seems reasonable to map RTIMER_ARCH_SECOND to CLOCK_CONF_SECOND for consistency reasons.
This commit is contained in:
parent
7089ce05e2
commit
ffce456612
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: rtimer-arch.h,v 1.3 2008/02/09 14:02:12 oliverschmidt Exp $
|
* $Id: rtimer-arch.h,v 1.4 2010/04/05 15:10:06 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
#include "contiki-conf.h"
|
#include "contiki-conf.h"
|
||||||
|
|
||||||
#define RTIMER_ARCH_SECOND 1000
|
#define RTIMER_ARCH_SECOND CLOCK_CONF_SECOND
|
||||||
|
|
||||||
#define rtimer_arch_now() clock_time()
|
#define rtimer_arch_now() clock_time()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue