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 #986, Remove unnecessary CFE_MSG_Init in TBL #1120

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Jan 22, 2021

Describe the contribution
Fix #986 - removed the HkPacket and TblRegPacket message initializations from CFE_TBL_EarlyInit, they are initialized in CFE_TBL_InitData. Moved the NotifyMsg message initialization to CFE_TBL_InitData, and just setting the message ID each time it's sent from CFE_TBL_SendNotificationMsg.

Testing performed
Build and run unit tests, passed.

Expected behavior changes
None (or just slightly better performance since the msg isn't initialized every call)

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this commit

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 22, 2021
@skliper skliper added this to the 7.0.0 milestone Jan 22, 2021
@skliper skliper added CCB:FastTrack and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Jan 22, 2021
@astrogeco
Copy link
Contributor

CCB:2021-01-27 APPROVED

@astrogeco astrogeco changed the base branch from main to integration-candidate January 27, 2021 22:27
@astrogeco astrogeco force-pushed the integration-candidate branch from 54dffe8 to f6c6737 Compare February 3, 2021 02:48
@astrogeco astrogeco merged commit e739c3e into nasa:integration-candidate Feb 3, 2021
@skliper skliper deleted the fix986-tbl_msg_init branch March 23, 2021 13:12
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.

Resolve table services message initialization inconsistencies
2 participants