projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move TIMER_AFTER() and TIMER_BEFORE() macros in drv/timer.h
[bertos.git]
/
bertos
/
mware
/
event.h
diff --git
a/bertos/mware/event.h
b/bertos/mware/event.h
index 3d00605962e3a4aaca7b1c74d474a66eef2999ce..5bc94e9ef3b875ad6ce84654ec90867273271a2c 100644
(file)
--- a/
bertos/mware/event.h
+++ b/
bertos/mware/event.h
@@
-246,10
+246,6
@@
INLINE void event_wait(Event *e)
#if CONFIG_TIMER_EVENTS
#include <drv/timer.h> /* timer_clock() */
#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.
*
/**
* Wait the completion of event \a e or \a timeout elapses.
*