aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/ch.cpp')
-rw-r--r--os/various/ch.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/various/ch.cpp b/os/various/ch.cpp
index 4c21904cb..2b23768d7 100644
--- a/os/various/ch.cpp
+++ b/os/various/ch.cpp
@@ -131,19 +131,19 @@ namespace chibios_rt {
return chMsgSend(thread_ref, msg);
}
- msg_t BaseThread::WaitMessage(void) {
+ Thread *BaseThread::WaitMessage(void) {
return chMsgWait();
}
- msg_t BaseThread::GetMessage(void) {
+ msg_t BaseThread::GetMessage(Thread* tp) {
- return chMsgGet();
+ return chMsgGet(tp);
}
- void BaseThread::ReleaseMessage(msg_t msg) {
+ void BaseThread::ReleaseMessage(Thread* tp, msg_t msg) {
- chMsgRelease(msg);
+ chMsgRelease(tp, msg);
}
bool BaseThread::IsPendingMessage(void) {