git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@780 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ae93d8d3d7
commit
6b6e5b95fb
|
@ -60,6 +60,7 @@ void chMBReset(Mailbox *mbp) {
|
|||
chSysUnlock();
|
||||
}
|
||||
|
||||
#if CH_USE_SEMAPHORES_TIMEOUT
|
||||
/**
|
||||
* @brief Posts a message into a mailbox.
|
||||
* @details The invoking thread waits until a empty slot in the mailbox becomes
|
||||
|
@ -146,6 +147,7 @@ msg_t chMBFetch(Mailbox *mbp, msg_t *msgp, systime_t timeout) {
|
|||
chSysUnlock();
|
||||
return rdymsg;
|
||||
}
|
||||
#endif /* CH_USE_SEMAPHORES_TIMEOUT */
|
||||
|
||||
#endif /* CH_USE_MAILBOXES */
|
||||
|
||||
|
|
Loading…
Reference in New Issue