allows rtimer_clock_t to be defined from contiki-conf.h
This commit is contained in:
parent
c66dd0b1bf
commit
5eb391dbe1
1 changed files with 3 additions and 1 deletions
|
@ -48,13 +48,15 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* @(#)$Id: rtimer.h,v 1.9 2009/03/01 09:31:43 adamdunkels Exp $
|
* @(#)$Id: rtimer.h,v 1.10 2010/03/23 13:24:38 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
#ifndef __RTIMER_H__
|
#ifndef __RTIMER_H__
|
||||||
#define __RTIMER_H__
|
#define __RTIMER_H__
|
||||||
|
|
||||||
|
#ifndef RTIMER_CLOCK_LT
|
||||||
typedef unsigned short rtimer_clock_t;
|
typedef unsigned short rtimer_clock_t;
|
||||||
#define RTIMER_CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0)
|
#define RTIMER_CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0)
|
||||||
|
#endif /* RTIMER_CLOCK_LT */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Initialize the real-time scheduler.
|
* \brief Initialize the real-time scheduler.
|
||||||
|
|
Loading…
Reference in a new issue