nasa / FM

The Core Flight System (cFS) File Manager (FM) application.
Apache License 2.0
43 stars 25 forks source link

Fix #95, Update command handler function message pointers and return #96

Open thnkslprpt opened 1 year ago

thnkslprpt commented 1 year ago

Checklist

Describe the contribution

Question: _Does something need to be done in terms of deprecation due to the change to the API (the FM_SendHkCmd() BufPtr parameter type has changed)?_

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

Expected behavior changes Behavior largely unchanged. Compiler error is now thrown if the command handler functions are invoked with any type other than their own specific command type. Using a defined set of error return macros and the CFE_Status_t return type improves code clarity and makes FM more consistent with cFE and the other cFS apps.

Contributor Info Avi Weiss @thnkslprpt