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 #41, no packing of CMD/TLM structs #133

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

jphickey
Copy link
Contributor

The CMD/TLM structures are application-defined. As such, they should not need to depend on compiler-specific extensions like packing.

Note that the definitions (mostly) already included explicit spare bytes where padding was likely to be needed, so the "packed" attribute was largely unnecessary here, only serving to make the definitions NOT compilant with C99.

Fixes #41

The CMD/TLM structures are application-defined.  As such, they should
not need to depend on compiler-specific extensions like packing.

Note that the definitions (mostly) already included explicit spare bytes
where padding was likely to be needed, so the "packed" attribute was
largely unnecessary here, only serving to make the definitions NOT compilant
with C99.
@jphickey jphickey force-pushed the fix-41-no-pack-cmd-tlm branch from 57b6d69 to 772ad79 Compare December 16, 2021 15:08
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Dec 16, 2021
@astrogeco astrogeco requested review from a user, skliper and pepepr08 and removed request for a user December 16, 2021 23:59
@astrogeco astrogeco merged commit aa7f901 into nasa:main Dec 17, 2021
@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 5, 2022
@astrogeco
Copy link
Contributor

CCB:2022-01-05 APPROVED

@jphickey jphickey deleted the fix-41-no-pack-cmd-tlm branch January 11, 2022 19:24
@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 C99 compliance and use of packed structures
4 participants