-
Notifications
You must be signed in to change notification settings - Fork 37
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 #141, Convert int32
return codes and variables to CFE_Status_t
#142
Fix #141, Convert int32
return codes and variables to CFE_Status_t
#142
Conversation
052dea4
to
cd7c2a9
Compare
@@ -155,10 +155,10 @@ | |||
/* Initialization */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 SCH_LAB_AppInit(void) | |||
CFE_Status_t SCH_LAB_AppInit(void) |
Check notice
Code scanning / CodeQL
Function too long
@@ -155,10 +155,10 @@ | |||
/* Initialization */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 SCH_LAB_AppInit(void) | |||
CFE_Status_t SCH_LAB_AppInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
cd7c2a9
to
9b24dd9
Compare
{CFE_SB_MSGID_WRAP_VALUE(CFE_EVS_SEND_HK_MID), 96, 0}, | ||
|
||
/* Example of including additional open source apps */ | ||
#ifdef HAVE_CI_LAB |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_CI_LAB | ||
{CFE_SB_MSGID_WRAP_VALUE(CI_LAB_SEND_HK_MID), 95, 0}, | ||
#endif | ||
#ifdef HAVE_TO_LAB |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_TO_LAB | ||
{CFE_SB_MSGID_WRAP_VALUE(TO_LAB_SEND_HK_MID), 94, 0}, | ||
#endif | ||
#ifdef HAVE_SAMPLE_APP |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_SAMPLE_APP | ||
{CFE_SB_MSGID_WRAP_VALUE(SAMPLE_APP_SEND_HK_MID), 93, 0}, | ||
#endif | ||
#ifdef HAVE_SC |
Check notice
Code scanning / CodeQL
Conditional compilation
{CFE_SB_MSGID_WRAP_VALUE(SC_SEND_HK_MID), 92, 0}, | ||
{CFE_SB_MSGID_WRAP_VALUE(SC_1HZ_WAKEUP_MID), 91, 0}, | ||
#endif | ||
#ifdef HAVE_HS |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_HS | ||
{CFE_SB_MSGID_WRAP_VALUE(HS_SEND_HK_MID), 90, 0}, /* Example of a message that wouldn't be sent */ | ||
#endif | ||
#ifdef HAVE_FM |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_FM | ||
{CFE_SB_MSGID_WRAP_VALUE(FM_SEND_HK_MID), 101, 0}, | ||
#endif | ||
#ifdef HAVE_DS |
Check notice
Code scanning / CodeQL
Conditional compilation
#ifdef HAVE_DS | ||
{CFE_SB_MSGID_WRAP_VALUE(DS_SEND_HK_MID), 102, 0}, | ||
#endif | ||
#ifdef HAVE_LC |
Check notice
Code scanning / CodeQL
Conditional compilation
*Combines:* sch_lab v2.5.0-rc4+dev71 sample_app v1.3.0-rc4+dev65 to_lab v2.5.0-rc4+dev66 ci_lab v2.5.0-rc4+dev69 cFE v7.0.0-rc4+dev411 PSP v1.6.0-rc4+dev96 **Includes:** *sch_lab* - nasa/sch_lab#129 - nasa/sch_lab#149 - nasa/sch_lab#142 - nasa/sch_lab#134 *sample_app* - nasa/sample_app#212 - nasa/sample_app#187 - nasa/sample_app#190 *to_lab* - nasa/to_lab#168 - nasa/to_lab#134 - nasa/to_lab#146 - nasa/to_lab#148 - nasa/to_lab#152 - nasa/to_lab#158 - nasa/to_lab#163 *ci_lab* - nasa/ci_lab#152 - nasa/ci_lab#153 *cFE* - nasa/cFE#2462 - nasa/cFE#2408 *PSP* - nasa/PSP#417 Co-authored by: Avi Weiss <[email protected]> Co-authored by: Joseph Hickey <[email protected]> Co-authored by: Isaac Rowe <[email protected]> Co-authored by: Jacob Hageman <[email protected]>
*Combines:* sch_lab v2.5.0-rc4+dev71 sample_app v1.3.0-rc4+dev65 to_lab v2.5.0-rc4+dev66 ci_lab v2.5.0-rc4+dev69 cFE v7.0.0-rc4+dev411 PSP v1.6.0-rc4+dev96 **Includes:** *sch_lab* - nasa/sch_lab#129 - nasa/sch_lab#149 - nasa/sch_lab#142 - nasa/sch_lab#134 *sample_app* - nasa/sample_app#212 - nasa/sample_app#187 - nasa/sample_app#190 *to_lab* - nasa/to_lab#168 - nasa/to_lab#134 - nasa/to_lab#146 - nasa/to_lab#148 - nasa/to_lab#152 - nasa/to_lab#158 - nasa/to_lab#163 *ci_lab* - nasa/ci_lab#152 - nasa/ci_lab#153 *cFE* - nasa/cFE#2462 - nasa/cFE#2408 *PSP* - nasa/PSP#417 Co-authored by: Avi Weiss <[email protected]> Co-authored by: Joseph Hickey <[email protected]> Co-authored by: Isaac Rowe <[email protected]> Co-authored by: Jacob Hageman <[email protected]>
Checklist
Describe the contribution
int32
return codes and variables should be converted toCFE_Status_t
#141int32
return codes converted over toCFE_Status_t
edit: some formatting issues cropped up after a recent PR went through
Testing performed
GitHub CI actions all passing successfully.
Local testing with full cFS suite passing all tests and showing not change to coverage.
Expected behavior changes
No change to behavior.
CFE_Status_t
is more expressive and improves consistency with cFE/cFS.Contributor Info
Avi Weiss @thnkslprpt