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

Add macro for assembling message header for use in defining tables that contain messages #2114

Closed
skliper opened this issue Jun 7, 2022 · 0 comments · Fixed by #2115
Closed
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Jun 7, 2022

Is your feature request related to a problem? Please describe.
Without a macro, tables are header implementation specific with their current approach of just using a uint16 array and hard coding the elements.

Describe the solution you'd like
Add an overridable macro that will fill in the header elements from "common" inputs. Something like:
#define MSG_STATIC_CMD(mid, size, fc, cksum)

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the Draco milestone Jun 7, 2022
@skliper skliper self-assigned this Jun 7, 2022
astrogeco added a commit that referenced this issue Jun 10, 2022
Fix #2114, Add macro for initializing command header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant