Platform nrf52dk: use RTIMER_CLOCK_DIFF instead of RTIMER_CLOCK_LT

This commit is contained in:
Simon Duquennoy 2016-06-03 13:26:08 +02:00
parent 5097842cba
commit dca929cd07

View file

@ -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)))
*/
/** @} */