diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 09:38:41 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-01-04 09:38:41 +0000 |
commit | 66205faf65927f86cd1faa8d738e48551fff75e0 (patch) | |
tree | 843d9b9021fedd121dd51c40703bd3ab517b71a8 /os/various | |
parent | c95f632a674afbf3606d66f950455438efa7aec3 (diff) | |
download | ChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.tar.gz ChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.tar.bz2 ChibiOS-66205faf65927f86cd1faa8d738e48551fff75e0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5029 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/cpp_wrappers/ch.cpp | 8 | ||||
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/os/various/cpp_wrappers/ch.cpp b/os/various/cpp_wrappers/ch.cpp index 8437719af..5191f2748 100644 --- a/os/various/cpp_wrappers/ch.cpp +++ b/os/various/cpp_wrappers/ch.cpp @@ -279,6 +279,14 @@ namespace chibios_rt { chThdYield();
}
+#if CH_USE_MESSAGES
+ ThreadReference BaseThread::waitMessage(void) {
+
+ ThreadReference tr(chMsgWait());
+ return tr;
+ }
+#endif /* CH_USE_MESSAGES */
+
#if CH_USE_EVENTS
eventmask_t BaseThread::getAndClearEvents(eventmask_t mask) {
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 4cc6704b9..370b9a3f2 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -385,7 +385,6 @@ namespace chibios_rt { */
class BaseThread : public ThreadReference {
public:
-
/**
* @brief BaseThread constructor.
*
|