JN516x: minor fixes

This commit is contained in:
Simon Duquennoy 2015-11-21 10:23:15 +01:00
parent 9effff6526
commit 673d1d103b
3 changed files with 14 additions and 9 deletions

View file

@ -49,8 +49,9 @@
#define RTIMER_ARCH_SECOND (F_CPU / 2)
#endif
#define US_TO_RTIMERTICKS(D) ((int64_t)(D) << 4)
#define RTIMERTICKS_TO_US(T) ((int64_t)(T) >> 4)
#define US_TO_RTIMERTICKS(D) ((int64_t)(D) << 4)
#define RTIMERTICKS_TO_US(T) ((int64_t)(T) >> 4)
#define RTIMERTICKS_TO_US_64(T) RTIMERTICKS_TO_US(T)
rtimer_clock_t rtimer_arch_now(void);