Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #157, adjust padding in msg structs #158

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Add explicit spare bytes where the compiler is likely to introduce padding into hte message structures. CFS SB messages should avoid having any implicit padding, whenever possible.

Fixes #157

Testing performed
Build and run tests, send some commands to sanity check

Expected behavior changes
None really, the padding was implicitly in the messages already, this just makes it clear/explicit.

System(s) tested on
Ubuntu 21.04 (on 64-bit CPU)

Additional context
This probably needs COSMOS updates as well (TBD)

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Add explicit spare bytes where the compiler is likely to introduce
padding into hte message structures.  CFS SB messages should avoid
having any implicit padding, whenever possible.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 10, 2022
@astrogeco astrogeco merged commit a5b82d4 into nasa:main Jan 12, 2022
@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 12, 2022
@jphickey jphickey deleted the fix-157-msg-padding-updates branch January 12, 2022 16:52
@skliper skliper added this to the Draco milestone Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CF Msg definitions explicit padding
4 participants