aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-13 08:35:14 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-13 08:35:14 +0000
commit792d0a0c42d40e5cf75782e2cbb0ebb198360882 (patch)
treede98a6052e8ff33585b0eb808c4c38da57dadec5 /os/common/oslib/include
parentc3c4b3af583f8da32b34932950f9eb056b41b3da (diff)
downloadChibiOS-792d0a0c42d40e5cf75782e2cbb0ebb198360882.tar.gz
ChibiOS-792d0a0c42d40e5cf75782e2cbb0ebb198360882.tar.bz2
ChibiOS-792d0a0c42d40e5cf75782e2cbb0ebb198360882.zip
Fixed bug #884.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10576 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include')
-rw-r--r--os/common/oslib/include/chmboxes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/common/oslib/include/chmboxes.h b/os/common/oslib/include/chmboxes.h
index 8dc38a374..e3c16c78d 100644
--- a/os/common/oslib/include/chmboxes.h
+++ b/os/common/oslib/include/chmboxes.h
@@ -72,8 +72,8 @@ typedef struct {
* mailbox that is part of a bigger structure.
*
* @param[in] name the name of the mailbox variable
- * @param[in] buffer pointer to the mailbox buffer area
- * @param[in] size size of the mailbox buffer area
+ * @param[in] buffer pointer to the mailbox buffer array of @p msg_t
+ * @param[in] size number of @p msg_t elements in the buffer array
*/
#define _MAILBOX_DATA(name, buffer, size) { \
(msg_t *)(buffer), \
@@ -89,11 +89,11 @@ typedef struct {
/**
* @brief Static mailbox initializer.
* @details Statically initialized mailboxes require no explicit
- * initialization using @p chMBInit().
+ * initialization using @p chMBObjectInit().
*
* @param[in] name the name of the mailbox variable
- * @param[in] buffer pointer to the mailbox buffer area
- * @param[in] size size of the mailbox buffer area
+ * @param[in] buffer pointer to the mailbox buffer array of @p msg_t
+ * @param[in] size number of @p msg_t elements in the buffer array
*/
#define MAILBOX_DECL(name, buffer, size) \
mailbox_t name = _MAILBOX_DATA(name, buffer, size)