nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
84 stars 45 forks source link

Fix #145, Clean up CF return codes #364

Closed thnkslprpt closed 1 year ago

thnkslprpt commented 1 year ago

Checklist

Describe the contribution Fixes #145


Minor changes:

Testing performed GitHub CI actions (incl. Build + Run, Unit Tests etc.) all passing successfully.

Expected behavior changes Behavior essentially unchanged. Removing positive error return values eases future maintainability. Using a defined set of error return macros improves code clarity and makes CF more consistent with cFE and the other cFS apps. Synchronizing the return types to CFE_Status_t simplifies the code, and makes it more type-safe.

Could consider adding to this PR, or in the future, defining unique error return macros for each unique return type.

Contributor Info Avi Weiss @thnkslprpt

dzbaker commented 1 year ago

Hey @thnkslprpt, would you be able to resolve the conflicts? Thanks!