Skip to content

Commit 9648f91

Browse files
committed
Fix #95, Update command handler function message pointers and return
types
1 parent e7afedc commit 9648f91

File tree

11 files changed

+599
-549
lines changed

11 files changed

+599
-549
lines changed

fsw/src/fm_app.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ CFE_Status_t FM_AppInit(void)
246246
/* FM application -- housekeeping request packet processor */
247247
/* */
248248
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
249-
void FM_SendHkCmd(const CFE_SB_Buffer_t *BufPtr)
249+
void FM_SendHkCmd(const FM_SendHkCmd_t *BufPtr)
250250
{
251251
FM_HousekeepingPkt_Payload_t *PayloadPtr;
252252

fsw/src/fm_app.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
3232
/* */
33-
/* FM -- application global constants */
33+
/* FM -- Macro Definitions */
3434
/* */
3535
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
3636

@@ -43,6 +43,11 @@
4343
*/
4444
#define FM_SB_TIMEOUT 1000
4545

46+
/**
47+
* \brief FM Error Codes
48+
*/
49+
#define FM_ERROR -1 /**< \brief Generic FM error return code */
50+
4651
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
4752
/* */
4853
/* FM -- application global data structure */
@@ -177,7 +182,7 @@ CFE_Status_t FM_AppInit(void);
177182
*
178183
* \sa #FM_SendHkCmd_t, #FM_HousekeepingPkt_t
179184
*/
180-
void FM_SendHkCmd(const CFE_SB_Buffer_t *BufPtr);
185+
void FM_SendHkCmd(const FM_SendHkCmd_t *BufPtr);
181186

182187
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
183188
/* */

0 commit comments

Comments
 (0)