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 #9, use CFE_MSG_PTR macro #76

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
This also updates all data structures and function names to use the proper naming conventions - that is:

  • Structure for each command that matches command name
  • Consistent application of CamelCase and command code name (_CC)

This also fixes a few other unsafe/improper casts regarding message buffers.

Fixes #9

Testing performed
Build and run all tests, sanity check HS

Expected behavior changes
Safer code, No impact to behavior

System(s) tested on
Debian

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

This also updates all data structures and function names to use the
proper naming conventions - that is:

 - Structure for each command that matches command name
 - Consistent application of CamelCase and command code name (_CC)

This also fixes a few other unsafe/improper casts regarding message
buffers.
@dzbaker
Copy link
Contributor

dzbaker commented Feb 23, 2023

CCB 23 February 2023: Approved pending workflow failure resolution.

This also fixes additional naming convention issues with the CC macros
where some underscores (word separator) were missing.
@dzbaker dzbaker merged commit 76915e9 into nasa:main Feb 23, 2023
@jphickey jphickey deleted the fix-9-cfe-msg-ptr branch March 17, 2023 15:09
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
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.

Apps should use CFE_MSG_PTR macro instead of cast or local unwrapping
4 participants