diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-16 12:01:40 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-16 12:01:40 +0000 |
commit | b8dfd95a2e9b35b252ed06acb46cbf6e6012829b (patch) | |
tree | bbb47c5b100e120706b35c7c0b21d310ff498854 /os/nil/src/nil.c | |
parent | 9bec8d317920fba8fa8ab59a45c112432ff39481 (diff) | |
download | ChibiOS-b8dfd95a2e9b35b252ed06acb46cbf6e6012829b.tar.gz ChibiOS-b8dfd95a2e9b35b252ed06acb46cbf6e6012829b.tar.bz2 ChibiOS-b8dfd95a2e9b35b252ed06acb46cbf6e6012829b.zip |
Fixed bug #694.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8770 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/nil/src/nil.c')
-rw-r--r-- | os/nil/src/nil.c | 2 |
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 */
/** @} */
|