-
Notifications
You must be signed in to change notification settings - Fork 41
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 #155, Convert int32
return codes and variables to CFE_Status_t
#156
Fix #155, Convert int32
return codes and variables to CFE_Status_t
#156
Conversation
@@ -458,10 +458,10 @@ | |||
/* TO_LAB_AddPacket() -- Add packets */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_AddPacket(const TO_LAB_AddPacketCmd_t *data) | |||
CFE_Status_t TO_LAB_AddPacket(const TO_LAB_AddPacketCmd_t *data) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -376,7 +376,7 @@ | |||
/* TO_LAB_SendDataTypes() -- Output data types */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_SendDataTypes(const TO_LAB_SendDataTypesCmd_t *data) | |||
CFE_Status_t TO_LAB_SendDataTypes(const TO_LAB_SendDataTypesCmd_t *data) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -235,7 +235,7 @@ | |||
/* TO_LAB_EnableOutput() -- TLM output enabled */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_EnableOutput(const TO_LAB_EnableOutputCmd_t *data) | |||
CFE_Status_t TO_LAB_EnableOutput(const TO_LAB_EnableOutputCmd_t *data) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -128,14 +128,14 @@ | |||
/* TO_LAB_init() -- TO initialization */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_init(void) | |||
CFE_Status_t TO_LAB_init(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -128,14 +128,14 @@ | |||
/* TO_LAB_init() -- TO initialization */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_init(void) | |||
CFE_Status_t TO_LAB_init(void) |
Check notice
Code scanning / CodeQL
Function too long
@@ -505,10 +505,10 @@ | |||
/* TO_LAB_RemoveAll() -- Remove All Packets */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_RemoveAll(const TO_LAB_RemoveAllCmd_t *data) | |||
CFE_Status_t TO_LAB_RemoveAll(const TO_LAB_RemoveAllCmd_t *data) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -483,10 +483,10 @@ | |||
/* TO_LAB_RemovePacket() -- Remove Packet */ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
int32 TO_LAB_RemovePacket(const TO_LAB_RemovePacketCmd_t *data) | |||
CFE_Status_t TO_LAB_RemovePacket(const TO_LAB_RemovePacketCmd_t *data) |
Check notice
Code scanning / CodeQL
Long function without assertion
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.
I would like to get these into the next round
Checklist
Describe the contribution
int32
return codes and variables should be converted toCFE_Status_t
#155int32
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.
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