Skip to content

Commit

Permalink
Fix nasa#95, Update command handler function message pointers and return
Browse files Browse the repository at this point in the history
types
  • Loading branch information
thnkslprpt committed May 19, 2023
1 parent e7afedc commit 9648f91
Show file tree
Hide file tree
Showing 11 changed files with 599 additions and 549 deletions.
2 changes: 1 addition & 1 deletion fsw/src/fm_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ CFE_Status_t FM_AppInit(void)
/* FM application -- housekeeping request packet processor */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
void FM_SendHkCmd(const CFE_SB_Buffer_t *BufPtr)
void FM_SendHkCmd(const FM_SendHkCmd_t *BufPtr)
{
FM_HousekeepingPkt_Payload_t *PayloadPtr;

Expand Down
9 changes: 7 additions & 2 deletions fsw/src/fm_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* FM -- application global constants */
/* FM -- Macro Definitions */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

Expand All @@ -43,6 +43,11 @@
*/
#define FM_SB_TIMEOUT 1000

/**
* \brief FM Error Codes
*/
#define FM_ERROR -1 /**< \brief Generic FM error return code */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* FM -- application global data structure */
Expand Down Expand Up @@ -177,7 +182,7 @@ CFE_Status_t FM_AppInit(void);
*
* \sa #FM_SendHkCmd_t, #FM_HousekeepingPkt_t
*/
void FM_SendHkCmd(const CFE_SB_Buffer_t *BufPtr);
void FM_SendHkCmd(const FM_SendHkCmd_t *BufPtr);

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
Expand Down
Loading

0 comments on commit 9648f91

Please sign in to comment.