Skip to content

Commit f881799

Browse files
authored
Merge pull request #2815 from philphauler/fix-2317-macro-paren
fix(msg): balance parentheses/braces in CFE_MSG_CMD_HDR_INIT priext variant (#2317)
2 parents d92a318 + 13ed881 commit f881799

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎modules/msg/option_inc/default_cfe_msg_hdr_priext.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@
6060
{ \
6161
.Pri = \
6262
{ \
63-
.StreamId = {(((mid)&0x80)<<5, (mid)&0x7F}, \
63+
.StreamId = {(((mid)&0x80)<<5), (mid)&0x7F}, \
6464
.Sequence = {0xC0, 0}, \
6565
.Length = {((size)-7)>>8, ((size)-7)&0xFF} \
6666
}, \
6767
.Ext = \
6868
{ \
6969
.Subsystem = {0, ((mid)>>8)&0xFF}, \
70-
.SystemId = {0, 0) \
70+
.SystemId = {0, 0} \
7171
} \
7272
}, \
7373
CFE_MSG_CMD_HDR_SEC_INIT(fc, cksum) \

0 commit comments

Comments
 (0)