diff options
Diffstat (limited to 'os/various/evtimer.h')
-rw-r--r-- | os/various/evtimer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os/various/evtimer.h b/os/various/evtimer.h index 7d54d446b..695a3851e 100644 --- a/os/various/evtimer.h +++ b/os/various/evtimer.h @@ -29,6 +29,14 @@ #ifndef _EVTIMER_H_
#define _EVTIMER_H_
+
+/*
+ * Module dependencies check.
+ */
+#if !CH_USE_EVENTS
+#error "Event Timers require CH_USE_EVENTS"
+#endif
+
/**
* @brief Event timer structure.
*/
|