diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-05-09 16:05:41 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-05-09 16:05:41 +0000 |
commit | a6feec221cd3050e0f2d56950abd39677790d79f (patch) | |
tree | 3dfda401ef92c226b24e2cd8ae3dd33fcf1dc54c /src/lib | |
parent | 7506cef74c79741c57cf9575ac8b3b400c50bf41 (diff) | |
download | ChibiOS-a6feec221cd3050e0f2d56950abd39677790d79f.tar.gz ChibiOS-a6feec221cd3050e0f2d56950abd39677790d79f.tar.bz2 ChibiOS-a6feec221cd3050e0f2d56950abd39677790d79f.zip |
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
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ch.cpp | 2 | ||||
-rw-r--r-- | src/lib/ch.hpp | 2 |
2 files changed, 0 insertions, 4 deletions
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.
|