aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evtimer.h')
-rw-r--r--src/lib/evtimer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evtimer.h b/src/lib/evtimer.h
index 43b0374ee..dfe09f0be 100644
--- a/src/lib/evtimer.h
+++ b/src/lib/evtimer.h
@@ -46,9 +46,9 @@ extern "C" {
/**
* Initializes an \p EvTimer structure.
*/
-#define evtInit(et, i) (chEvtInit(&(etp)->et_es), \
- (etp)->et_vt.vt_func = NULL, \
- (etp)->et_interval = (i))
+#define evtInit(etp, i) (chEvtInit(&(etp)->et_es), \
+ (etp)->et_vt.vt_func = NULL, \
+ (etp)->et_interval = (i))
/**
* Registers the invoking thread as listener on the timer event.