From 33a3c8f7324f05af4d83c8bb22f24bdb606bfa91 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 15 Oct 2017 09:41:49 +0000 Subject: CMSIS update and cleanup. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10824 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/cpp_wrappers/ch.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'os/various/cpp_wrappers') 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), time); + return chMBPostTimeout(&mb, reinterpret_cast(msg), time); } /** @@ -1678,7 +1678,7 @@ namespace chibios_rt { */ msg_t postS(T msg, systime_t time) { - return chMBPostS(&mb, reinterpret_cast(msg), time); + return chMBPostTimeoutS(&mb, reinterpret_cast(msg), time); } /** @@ -1719,7 +1719,7 @@ namespace chibios_rt { */ msg_t postAhead(T msg, systime_t time) { - return chMBPostAhead(&mb, reinterpret_cast(msg), time); + return chMBPostAheadTimeout(&mb, reinterpret_cast(msg), time); } /** @@ -1742,7 +1742,7 @@ namespace chibios_rt { */ msg_t postAheadS(T msg, systime_t time) { - return chMBPostAheadS(&mb, reinterpret_cast(msg), time); + return chMBPostAheadTimeoutS(&mb, reinterpret_cast(msg), time); } /** @@ -1783,7 +1783,7 @@ namespace chibios_rt { */ msg_t fetch(T *msgp, systime_t time) { - return chMBFetch(&mb, reinterpret_cast(msgp), time); + return chMBFetchTimeout(&mb, reinterpret_cast(msgp), time); } /** @@ -1806,7 +1806,7 @@ namespace chibios_rt { */ msg_t fetchS(T *msgp, systime_t time) { - return chMBFetchS(&mb, reinterpret_cast(msgp), time); + return chMBFetchTimeoutS(&mb, reinterpret_cast(msgp), time); } /** -- cgit v1.2.3