Skip to content

Commit

Permalink
Merge pull request #1077 from skliper/fix488-header_alignment
Browse files Browse the repository at this point in the history
Fix #488, Pad msg headers to 64 bit
  • Loading branch information
astrogeco authored Jan 25, 2021
2 parents 6ca043d + 778aafb commit a68947e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/msg/mission_inc/default_cfe_msg_hdr_pri.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ typedef struct

CFE_MSG_Message_t Msg; /**< \brief Base message */
CFE_MSG_TelemetrySecondaryHeader_t Sec; /**< \brief Secondary header */
uint8 Spare[4]; /**< \brief Padding to end on 64 bit boundary */

} CFE_MSG_TelemetryHeader_t;

Expand Down
1 change: 1 addition & 0 deletions modules/msg/mission_inc/default_cfe_msg_hdr_priext.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ typedef struct

CFE_MSG_Message_t Msg; /**< \brief Base message */
CFE_MSG_CommandSecondaryHeader_t Sec; /**< \brief Secondary header */
uint8 Spare[4]; /**< /brief Padding to end on 64 bit boundary */

} CFE_MSG_CommandHeader_t;

Expand Down

0 comments on commit a68947e

Please sign in to comment.