kernel/msg_q: reorder _K_MSGQ_INITIALIZER() initializers
This is a trivial change to satisfy C++, which requires that designated initializers appear in the same order as the members they initialize. Fixes: #14540 Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
27a56ad75c
commit
6d01f67f8a
1 changed files with 1 additions and 1 deletions
|
@ -3173,8 +3173,8 @@ struct k_msgq {
|
|||
#define _K_MSGQ_INITIALIZER(obj, q_buffer, q_msg_size, q_max_msgs) \
|
||||
{ \
|
||||
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
|
||||
.max_msgs = q_max_msgs, \
|
||||
.msg_size = q_msg_size, \
|
||||
.max_msgs = q_max_msgs, \
|
||||
.buffer_start = q_buffer, \
|
||||
.buffer_end = q_buffer + (q_max_msgs * q_msg_size), \
|
||||
.read_ptr = q_buffer, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue