move TIMER_AFTER() and TIMER_BEFORE() macros in drv/timer.h
[bertos.git] / bertos / mware / event.h
index 3d00605962e3a4aaca7b1c74d474a66eef2999ce..5bc94e9ef3b875ad6ce84654ec90867273271a2c 100644 (file)
@@ -246,10 +246,6 @@ INLINE void event_wait(Event *e)
 #if CONFIG_TIMER_EVENTS
 #include <drv/timer.h> /* timer_clock() */
 
-/* TODO: move these macros to drv/timer.h */
-#define TIMER_AFTER(x, y) ((long)(y) - (long)(x) < 0)
-#define TIMER_BEFORE(x, y) TIMER_AFTER(y, x)
-
 /**
  * Wait the completion of event \a e or \a timeout elapses.
  *