From dca929cd0702f647deaa15fb9dd1dc875dff269c Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Fri, 3 Jun 2016 13:26:08 +0200 Subject: [PATCH] Platform nrf52dk: use RTIMER_CLOCK_DIFF instead of RTIMER_CLOCK_LT --- platform/nrf52dk/platform-conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/nrf52dk/platform-conf.h b/platform/nrf52dk/platform-conf.h index bb073f4ab..cf89dc0a8 100644 --- a/platform/nrf52dk/platform-conf.h +++ b/platform/nrf52dk/platform-conf.h @@ -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))) */ /** @} */