Fixed bug #884.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10576 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
c3c4b3af58
commit
792d0a0c42
|
@ -72,8 +72,8 @@ typedef struct {
|
||||||
* mailbox that is part of a bigger structure.
|
* mailbox that is part of a bigger structure.
|
||||||
*
|
*
|
||||||
* @param[in] name the name of the mailbox variable
|
* @param[in] name the name of the mailbox variable
|
||||||
* @param[in] buffer pointer to the mailbox buffer area
|
* @param[in] buffer pointer to the mailbox buffer array of @p msg_t
|
||||||
* @param[in] size size of the mailbox buffer area
|
* @param[in] size number of @p msg_t elements in the buffer array
|
||||||
*/
|
*/
|
||||||
#define _MAILBOX_DATA(name, buffer, size) { \
|
#define _MAILBOX_DATA(name, buffer, size) { \
|
||||||
(msg_t *)(buffer), \
|
(msg_t *)(buffer), \
|
||||||
|
@ -89,11 +89,11 @@ typedef struct {
|
||||||
/**
|
/**
|
||||||
* @brief Static mailbox initializer.
|
* @brief Static mailbox initializer.
|
||||||
* @details Statically initialized mailboxes require no explicit
|
* @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] name the name of the mailbox variable
|
||||||
* @param[in] buffer pointer to the mailbox buffer area
|
* @param[in] buffer pointer to the mailbox buffer array of @p msg_t
|
||||||
* @param[in] size size of the mailbox buffer area
|
* @param[in] size number of @p msg_t elements in the buffer array
|
||||||
*/
|
*/
|
||||||
#define MAILBOX_DECL(name, buffer, size) \
|
#define MAILBOX_DECL(name, buffer, size) \
|
||||||
mailbox_t name = _MAILBOX_DATA(name, buffer, size)
|
mailbox_t name = _MAILBOX_DATA(name, buffer, size)
|
||||||
|
|
|
@ -117,6 +117,8 @@
|
||||||
Updated the various platform.mk implementing "smart build" mode.
|
Updated the various platform.mk implementing "smart build" mode.
|
||||||
- HAL: Fixed USB GET_DESCRIPTOR not handled for Interface Recipients (bug #885)
|
- HAL: Fixed USB GET_DESCRIPTOR not handled for Interface Recipients (bug #885)
|
||||||
(backported to 17.6.1 and 16.1.9).
|
(backported to 17.6.1 and 16.1.9).
|
||||||
|
- RT: MAILBOX_DECL size parameter is actually a count (bug #884)
|
||||||
|
(backported to 17.6.1 and 16.1.9).
|
||||||
- HAL: Fixed error in uartReceiveTimeout() and uartSendTimeout() (bug #883)
|
- HAL: Fixed error in uartReceiveTimeout() and uartSendTimeout() (bug #883)
|
||||||
(backported to 17.6.1 and 16.1.9).
|
(backported to 17.6.1 and 16.1.9).
|
||||||
- HAL: Fixed TIMx DBL field macro broken (bug #880)(backported
|
- HAL: Fixed TIMx DBL field macro broken (bug #880)(backported
|
||||||
|
|
Loading…
Reference in New Issue