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/lib/ch.cpp | 2 -- src/lib/ch.hpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ch.cpp b/src/lib/ch.cpp index 46e3a53d7..eaca06358 100644 --- a/src/lib/ch.cpp +++ b/src/lib/ch.cpp @@ -176,12 +176,10 @@ namespace chibios_rt { return chSemWait(&sem); } -#if CH_USE_SEMAPHORES_TIMEOUT msg_t Semaphore::WaitTimeout(systime_t time) { return chSemWaitTimeout(&sem, time); } -#endif /* CH_USE_SEMAPHORES_TIMEOUT */ void Semaphore::Signal(void) { diff --git a/src/lib/ch.hpp b/src/lib/ch.hpp index bd1561689..b13e8db6d 100644 --- a/src/lib/ch.hpp +++ b/src/lib/ch.hpp @@ -315,7 +315,6 @@ namespace chibios_rt { */ msg_t Wait(void); -#if CH_USE_SEMAPHORES_TIMEOUT /** * @brief Wait operation on the semaphore with timeout. * @@ -326,7 +325,6 @@ namespace chibios_rt { * specified timeout. */ msg_t WaitTimeout(systime_t time); -#endif /* CH_USE_SEMAPHORES_TIMEOUT */ /** * @brief Signal operation on the semaphore. -- cgit v1.2.3