From b8dfd95a2e9b35b252ed06acb46cbf6e6012829b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 16 Jan 2016 12:01:40 +0000 Subject: Fixed bug #694. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8770 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/src/nil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/nil/src') 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 */ /** @} */ -- cgit v1.2.3