aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ch.cpp')
-rw-r--r--src/lib/ch.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/ch.cpp b/src/lib/ch.cpp
index d1e739915..653a48dec 100644
--- a/src/lib/ch.cpp
+++ b/src/lib/ch.cpp
@@ -29,12 +29,12 @@ namespace chibios_rt {
chSysInit();
}
- void Lock(void) {
+ void System::Lock(void) {
chSysLock();
}
- void Unlock(void) {
+ void System::Unlock(void) {
chSysUnlock();
}
@@ -125,6 +125,11 @@ namespace chibios_rt {
#endif /* CH_USE_SLEEP */
#ifdef CH_USE_MESSAGES
+ msg_t BaseThread::SendMessage(::Thread* tp, msg_t msg) {
+
+ return chMsgSend(tp, msg);
+ }
+
msg_t BaseThread::SendMessage(msg_t msg) {
return chMsgSend(thread_ref, msg);