aboutsummaryrefslogtreecommitdiffstats
path: root/os/nil/src/nil.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/nil/src/nil.c')
-rw-r--r--os/nil/src/nil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c
index 766f17162..0db75db37 100644
--- a/os/nil/src/nil.c
+++ b/os/nil/src/nil.c
@@ -729,6 +729,7 @@ void chSemResetI(semaphore_t *sp, cnt_t n) {
}
}
+#if (NIL_CFG_USE_EVENTS == TRUE) || defined(__DOXYGEN__)
/**
* @brief Adds a set of event flags directly to the specified @p thread_t.
*
@@ -834,5 +835,6 @@ eventmask_t chEvtWaitAnyTimeoutS(eventmask_t mask, systime_t timeout) {
return m;
}
+#endif /* NIL_CFG_USE_EVENTS == TRUE */
/** @} */