aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-15 09:41:49 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-15 09:41:49 +0000
commit33a3c8f7324f05af4d83c8bb22f24bdb606bfa91 (patch)
tree40d63470342b191d06320ec9b34d346ed5d5e879 /os/various
parenta899d6ac04e717f74ed2e9bf9640dab2db2621fd (diff)
downloadChibiOS-33a3c8f7324f05af4d83c8bb22f24bdb606bfa91.tar.gz
ChibiOS-33a3c8f7324f05af4d83c8bb22f24bdb606bfa91.tar.bz2
ChibiOS-33a3c8f7324f05af4d83c8bb22f24bdb606bfa91.zip
CMSIS update and cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10824 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
-rw-r--r--os/various/cpp_wrappers/ch.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp
index ec8656612..d658086df 100644
--- a/os/various/cpp_wrappers/ch.hpp
+++ b/os/various/cpp_wrappers/ch.hpp
@@ -1655,7 +1655,7 @@ namespace chibios_rt {
*/
msg_t post(T msg, systime_t time) {
- return chMBPost(&mb, reinterpret_cast<msg_t>(msg), time);
+ return chMBPostTimeout(&mb, reinterpret_cast<msg_t>(msg), time);
}
/**
@@ -1678,7 +1678,7 @@ namespace chibios_rt {
*/
msg_t postS(T msg, systime_t time) {
- return chMBPostS(&mb, reinterpret_cast<msg_t>(msg), time);
+ return chMBPostTimeoutS(&mb, reinterpret_cast<msg_t>(msg), time);
}
/**
@@ -1719,7 +1719,7 @@ namespace chibios_rt {
*/
msg_t postAhead(T msg, systime_t time) {
- return chMBPostAhead(&mb, reinterpret_cast<msg_t>(msg), time);
+ return chMBPostAheadTimeout(&mb, reinterpret_cast<msg_t>(msg), time);
}
/**
@@ -1742,7 +1742,7 @@ namespace chibios_rt {
*/
msg_t postAheadS(T msg, systime_t time) {
- return chMBPostAheadS(&mb, reinterpret_cast<msg_t>(msg), time);
+ return chMBPostAheadTimeoutS(&mb, reinterpret_cast<msg_t>(msg), time);
}
/**
@@ -1783,7 +1783,7 @@ namespace chibios_rt {
*/
msg_t fetch(T *msgp, systime_t time) {
- return chMBFetch(&mb, reinterpret_cast<msg_t*>(msgp), time);
+ return chMBFetchTimeout(&mb, reinterpret_cast<msg_t*>(msgp), time);
}
/**
@@ -1806,7 +1806,7 @@ namespace chibios_rt {
*/
msg_t fetchS(T *msgp, systime_t time) {
- return chMBFetchS(&mb, reinterpret_cast<msg_t*>(msgp), time);
+ return chMBFetchTimeoutS(&mb, reinterpret_cast<msg_t*>(msgp), time);
}
/**