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 #303, check that module type is not invalid #304

Merged

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Sep 3, 2021

Describe the contribution
Rather than only calling "Init" on a "SIMPLE" module type, just check that it is not invalid instead. Even extension types
still have an Init routine that needs to be called.

Fixes #303

Testing performed
Build and sanity check CFE, including using some HW access extension modules

Expected behavior changes
Module gets initialized as it should

System(s) tested on
Ubuntu

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

@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 3, 2021
Rather than only calling "Init" on a "SIMPLE" module type, just
check that it is not invalid instead.  Even extension types
still have an Init routine that needs to be called.
@skliper
Copy link
Contributor

skliper commented Sep 3, 2021

@excaliburtb @tngo67 - could you review and let me know if this would this impact your distribution?

@excaliburtb
Copy link

This doesn't appear to be a problem for us.

@astrogeco astrogeco changed the base branch from main to integration-candidate September 7, 2021 22:00
@astrogeco astrogeco merged commit ff63abc into nasa:integration-candidate Sep 7, 2021
@astrogeco astrogeco removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 8, 2021
@astrogeco
Copy link
Contributor

astrogeco commented Sep 8, 2021

CCB:2021-09-08 APPROVED

@astrogeco astrogeco added the CCB:Approved Indicates Approval by CCB label Sep 8, 2021
@jphickey jphickey deleted the fix-303-moduletype-check branch October 18, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates Approval by CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too strict of check before calling "Init" function of module
4 participants