Platform nrf52dk: use RTIMER_CLOCK_DIFF instead of RTIMER_CLOCK_LT
This commit is contained in:
parent
5097842cba
commit
dca929cd07
1 changed files with 2 additions and 2 deletions
|
@ -131,9 +131,9 @@ typedef uint32_t uip_stats_t;
|
|||
#define RTIMER_ARCH_SECOND 62500
|
||||
/*
|
||||
* rtimer.h typedefs rtimer_clock_t as unsigned short. We need to define
|
||||
* RTIMER_CLOCK_LT to override this
|
||||
* RTIMER_CLOCK_DIFF to override this
|
||||
typedef uint32_t rtimer_clock_t;
|
||||
#define RTIMER_CLOCK_LT(a, b) ((int32_t)((a) - (b)) < 0)
|
||||
#define RTIMER_CLOCK_DIFF(a,b) ((int32_t)((a)-(b)))
|
||||
*/
|
||||
|
||||
/** @} */
|
||||
|
|
Loading…
Reference in a new issue