From a4adc257e805602b8daa156d33b50a27c7e120a3 Mon Sep 17 00:00:00 2001 From: Yasuyuki Tanaka Date: Sat, 26 Nov 2016 11:47:59 +0100 Subject: [PATCH] Add RTIMERTICKS_TO_US_64() macro (platform/cooja) --- platform/cooja/rtimer-arch.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/cooja/rtimer-arch.h b/platform/cooja/rtimer-arch.h index 390e1ac56..ffd23c824 100644 --- a/platform/cooja/rtimer-arch.h +++ b/platform/cooja/rtimer-arch.h @@ -38,8 +38,9 @@ #define RTIMER_ARCH_SECOND UINT64_C(1000000) -#define US_TO_RTIMERTICKS(US) (US) -#define RTIMERTICKS_TO_US(T) (T) +#define US_TO_RTIMERTICKS(US) (US) +#define RTIMERTICKS_TO_US(T) (T) +#define RTIMERTICKS_TO_US_64(T) (T) rtimer_clock_t rtimer_arch_now(void); int rtimer_arch_check(void);