-
Notifications
You must be signed in to change notification settings - Fork 26
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 #51, Convert int32
return codes and variables to CFE_Status_t
#52
Fix #51, Convert int32
return codes and variables to CFE_Status_t
#52
Conversation
@@ -128,9 +128,9 @@ | |||
/* HK application initialization routine */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_AppInit(void) | |||
CFE_Status_t HK_AppInit(void) |
Check notice
Code scanning / CodeQL
Function too long
@@ -261,7 +261,7 @@ | |||
/* HK Tear down old copy table */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_TearDownOldCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) | |||
CFE_Status_t HK_TearDownOldCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -114,7 +114,7 @@ | |||
/* HK process new copy table */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_ProcessNewCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) | |||
CFE_Status_t HK_ProcessNewCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -220,9 +220,9 @@ | |||
/* HK application table initialization routine */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_TableInit(void) | |||
CFE_Status_t HK_TableInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -128,9 +128,9 @@ | |||
/* HK application initialization routine */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_AppInit(void) | |||
CFE_Status_t HK_AppInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -261,7 +261,7 @@ | |||
/* HK Tear down old copy table */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_TearDownOldCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) | |||
CFE_Status_t HK_TearDownOldCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) |
Check notice
Code scanning / CodeQL
Function too long
@@ -114,7 +114,7 @@ | |||
/* HK process new copy table */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_ProcessNewCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) | |||
CFE_Status_t HK_ProcessNewCopyTable(hk_copy_table_entry_t *CpyTblPtr, hk_runtime_tbl_entry_t *RtTblPtr) |
Check notice
Code scanning / CodeQL
Function too long
@@ -220,9 +220,9 @@ | |||
/* HK application table initialization routine */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 HK_TableInit(void) | |||
CFE_Status_t HK_TableInit(void) |
Check notice
Code scanning / CodeQL
Function too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Checklist
Describe the contribution
int32
return codes and variables should be converted toCFE_Status_t
#51int32
return codes converted over toCFE_Status_t
int32
status
/return
variables holding cFE return codes converted toCFE_Status_t
Testing performed
GitHub CI actions all passing successfully.
Expected behavior changes
No change to behavior.
CFE_Status_t
is more expressive and improves consistency with cFE/cFS.Contributor Info
Avi Weiss @thnkslprpt