From a6feec221cd3050e0f2d56950abd39677790d79f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 9 May 2009 16:05:41 +0000 Subject: Removed the CH_USE_SEMAPHORES_TIMEOUT configuration option. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@962 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chsem.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/chsem.c') diff --git a/src/chsem.c b/src/chsem.c index 085f4014b..9a8570580 100644 --- a/src/chsem.c +++ b/src/chsem.c @@ -127,7 +127,6 @@ msg_t chSemWaitS(Semaphore *sp) { return RDY_OK; } -#if CH_USE_SEMAPHORES_TIMEOUT /** * @brief Performs a wait operation on a semaphore with timeout specification. * @@ -141,8 +140,6 @@ msg_t chSemWaitS(Semaphore *sp) { * @retval RDY_RESET if the semaphore was reset using @p chSemReset(). * @retval RDY_TIMEOUT if the semaphore was not signaled or reset within the * specified timeout. - * @note The function is available only if the @p CH_USE_SEMAPHORES_TIMEOUT - * option is enabled in @p chconf.h. */ msg_t chSemWaitTimeout(Semaphore *sp, systime_t time) { msg_t msg; @@ -166,8 +163,6 @@ msg_t chSemWaitTimeout(Semaphore *sp, systime_t time) { * @retval RDY_RESET if the semaphore was reset using @p chSemReset(). * @retval RDY_TIMEOUT if the semaphore was not signaled or reset within the specified * timeout. - * @note The function is available only if the @p CH_USE_SEMAPHORES_TIMEOUT - * option is enabled in @p chconf.h. */ msg_t chSemWaitTimeoutS(Semaphore *sp, systime_t time) { @@ -184,7 +179,6 @@ msg_t chSemWaitTimeoutS(Semaphore *sp, systime_t time) { } return RDY_OK; } -#endif /* CH_USE_SEMAPHORES_TIMEOUT */ /** * @brief Performs a signal operation on a semaphore. -- cgit v1.2.3