aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmboxes.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-08 08:15:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-03-08 08:15:23 +0000
commit8588e9642d632d6d84e9c48388cfb566ecd4a36e (patch)
tree9d5ae2d4e32efe315de79fcf478035527a84dc7f /src/chmboxes.c
parenta5d0e873823ef5a407f3d08396cab0b25694f205 (diff)
downloadChibiOS-8588e9642d632d6d84e9c48388cfb566ecd4a36e.tar.gz
ChibiOS-8588e9642d632d6d84e9c48388cfb566ecd4a36e.tar.bz2
ChibiOS-8588e9642d632d6d84e9c48388cfb566ecd4a36e.zip
Fixes to the documentation, swapped the values of constants TIME_INFINITE and TIME_IMMEDIATE (previously TIME_ZERO).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@816 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmboxes.c')
-rw-r--r--src/chmboxes.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chmboxes.c b/src/chmboxes.c
index 25c4001ef..743b5a568 100644
--- a/src/chmboxes.c
+++ b/src/chmboxes.c
@@ -72,7 +72,7 @@ void chMBReset(Mailbox *mbp) {
* @param[in] msg the message to be posted on the mailbox
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.
@@ -98,7 +98,7 @@ msg_t chMBPost(Mailbox *mbp, msg_t msg, systime_t time) {
* @param[in] msg the message to be posted on the mailbox
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.
@@ -131,7 +131,7 @@ msg_t chMBPostS(Mailbox *mbp, msg_t msg, systime_t time) {
* @param[in] msg the message to be posted on the mailbox
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.
@@ -157,7 +157,7 @@ msg_t chMBPostAhead(Mailbox *mbp, msg_t msg, systime_t time) {
* @param[in] msg the message to be posted on the mailbox
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.
@@ -190,7 +190,7 @@ msg_t chMBPostAheadS(Mailbox *mbp, msg_t msg, systime_t time) {
* @param[out] msgp pointer to a message variable for the received message
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.
@@ -216,7 +216,7 @@ msg_t chMBFetch(Mailbox *mbp, msg_t *msgp, systime_t time) {
* @param[out] msgp pointer to a message variable for the received message
* @param[in] time the number of ticks before the operation timeouts,
* the following special values are allowed:
- * - @a TIME_ZERO immediate timeout.
+ * - @a TIME_IMMEDIATE immediate timeout.
* - @a TIME_INFINITE no timeout.
* .
* @return The operation status.