aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/cpp_wrappers/ch.cpp
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-10 18:36:23 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-10 18:36:23 +0000
commit80fe560f5b23a5a85161836834121ecd26aca7dc (patch)
treef2d301988758621e61bd012dcd5ed59a4ee0ed63 /os/various/cpp_wrappers/ch.cpp
parent3b9ae6825f753e21f2db109d7b1005a6acfe475c (diff)
downloadChibiOS-80fe560f5b23a5a85161836834121ecd26aca7dc.tar.gz
ChibiOS-80fe560f5b23a5a85161836834121ecd26aca7dc.tar.bz2
ChibiOS-80fe560f5b23a5a85161836834121ecd26aca7dc.zip
[CPP wrappers] xxxTimeout(timeout) functions replaced with overloaded ones like xxx(timeout)
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7256 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/cpp_wrappers/ch.cpp')
-rw-r--r--os/various/cpp_wrappers/ch.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/os/various/cpp_wrappers/ch.cpp b/os/various/cpp_wrappers/ch.cpp
index fbc8d1897..d6f4ca0c1 100644
--- a/os/various/cpp_wrappers/ch.cpp
+++ b/os/various/cpp_wrappers/ch.cpp
@@ -410,12 +410,12 @@ namespace chibios_rt {
return chSemWaitS(&sem);
}
- msg_t CounterSemaphore::waitTimeout(systime_t time) {
+ msg_t CounterSemaphore::wait(systime_t time) {
return chSemWaitTimeout(&sem, time);
}
- msg_t CounterSemaphore::waitTimeoutS(systime_t time) {
+ msg_t CounterSemaphore::waitS(systime_t time) {
return chSemWaitTimeoutS(&sem, time);
}
@@ -464,12 +464,12 @@ namespace chibios_rt {
return chBSemWaitS(&bsem);
}
- msg_t BinarySemaphore::waitTimeout(systime_t time) {
+ msg_t BinarySemaphore::wait(systime_t time) {
return chBSemWaitTimeout(&bsem, time);
}
- msg_t BinarySemaphore::waitTimeoutS(systime_t time) {
+ msg_t BinarySemaphore::waitS(systime_t time) {
return chBSemWaitTimeoutS(&bsem, time);
}
@@ -579,7 +579,7 @@ namespace chibios_rt {
}
#if CH_CFG_USE_CONDVARS_TIMEOUT
- msg_t CondVar::waitTimeout(systime_t time) {
+ msg_t CondVar::wait(systime_t time) {
return chCondWaitTimeout(&condvar, time);
}
@@ -681,12 +681,12 @@ namespace chibios_rt {
return chIQGet(&iq);
}
- msg_t InQueue::getTimeout(systime_t time) {
+ msg_t InQueue::get(systime_t time) {
return chIQGetTimeout(&iq, time);
}
- size_t InQueue::readTimeout(uint8_t *bp, size_t n, systime_t time) {
+ size_t InQueue::read(uint8_t *bp, size_t n, systime_t time) {
return chIQReadTimeout(&iq, bp, n, time);
}
@@ -729,7 +729,7 @@ namespace chibios_rt {
return chOQPut(&oq, b);
}
- msg_t OutQueue::putTimeout(uint8_t b, systime_t time) {
+ msg_t OutQueue::put(uint8_t b, systime_t time) {
return chOQPutTimeout(&oq, b, time);
}
@@ -739,8 +739,7 @@ namespace chibios_rt {
return chOQGetI(&oq);
}
- size_t OutQueue::writeTimeout(const uint8_t *bp, size_t n,
- systime_t time) {
+ size_t OutQueue::write(const uint8_t *bp, size_t n, systime_t time) {
return chOQWriteTimeout(&oq, bp, n, time);
}