aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ch.cpp')
-rw-r--r--src/lib/ch.cpp2
1 files changed, 0 insertions, 2 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) {