aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/cpp_wrappers/ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/cpp_wrappers/ch.cpp')
-rw-r--r--os/various/cpp_wrappers/ch.cpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/os/various/cpp_wrappers/ch.cpp b/os/various/cpp_wrappers/ch.cpp
index d6f4ca0c1..fc9bd8e9a 100644
--- a/os/various/cpp_wrappers/ch.cpp
+++ b/os/various/cpp_wrappers/ch.cpp
@@ -745,76 +745,6 @@ namespace chibios_rt {
}
#endif /* CH_CFG_USE_QUEUES */
-#if CH_CFG_USE_MAILBOXES
- /*------------------------------------------------------------------------*
- * chibios_rt::Mailbox *
- *------------------------------------------------------------------------*/
- Mailbox::Mailbox(msg_t *buf, cnt_t n) {
-
- chMBObjectInit(&mb, buf, n);
- }
-
- void Mailbox::reset(void) {
-
- chMBReset(&mb);
- }
-
- msg_t Mailbox::post(msg_t msg, systime_t time) {
-
- return chMBPost(&mb, msg, time);
- }
-
- msg_t Mailbox::postS(msg_t msg, systime_t time) {
-
- return chMBPostS(&mb, msg, time);
- }
-
- msg_t Mailbox::postI(msg_t msg) {
-
- return chMBPostI(&mb, msg);
- }
-
- msg_t Mailbox::postAhead(msg_t msg, systime_t time) {
-
- return chMBPostAhead(&mb, msg, time);
- }
-
- msg_t Mailbox::postAheadS(msg_t msg, systime_t time) {
-
- return chMBPostAheadS(&mb, msg, time);
- }
-
- msg_t Mailbox::postAheadI(msg_t msg) {
-
- return chMBPostAheadI(&mb, msg);
- }
-
- msg_t Mailbox::fetch(msg_t *msgp, systime_t time) {
-
- return chMBFetch(&mb, msgp, time);
- }
-
- msg_t Mailbox::fetchS(msg_t *msgp, systime_t time) {
-
- return chMBFetchS(&mb, msgp, time);
- }
-
- msg_t Mailbox::fetchI(msg_t *msgp) {
-
- return chMBFetchI(&mb, msgp);
- }
-
- cnt_t Mailbox::getFreeCountI(void) {
-
- return chMBGetFreeCountI(&mb);
- }
-
- cnt_t Mailbox::getUsedCountI(void) {
-
- return chMBGetUsedCountI(&mb);
- }
-#endif /* CH_CFG_USE_MAILBOXES */
-
#if CH_CFG_USE_MEMPOOLS
/*------------------------------------------------------------------------*
* chibios_rt::MemoryPool *