Skip to content

Commit

Permalink
Fix #41, remove dependencies on CCSDS types
Browse files Browse the repository at this point in the history
Applications should only use types provide by CFE_SB.
  • Loading branch information
jphickey committed May 28, 2020
1 parent b0e577a commit 9ccbc32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fsw/src/to_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int32 TO_LAB_RemoveAll(const TO_LAB_RemoveAll_t *data);
int32 TO_LAB_RemovePacket(const TO_LAB_RemovePacket_t *data);
int32 TO_LAB_ResetCounters(const TO_LAB_ResetCounters_t *data);
int32 TO_LAB_SendDataTypes(const TO_LAB_SendDataTypes_t *data);
int32 TO_LAB_SendHousekeeping(const CCSDS_CommandPacket_t *data);
int32 TO_LAB_SendHousekeeping(const CFE_SB_CmdHdr_t *data);


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
Expand Down Expand Up @@ -293,7 +293,7 @@ void TO_LAB_process_commands(void)
break;

case TO_LAB_SEND_HK_MID:
TO_LAB_SendHousekeeping((const CCSDS_CommandPacket_t *)MsgPtr);
TO_LAB_SendHousekeeping((const CFE_SB_CmdHdr_t *)MsgPtr);
break;

default:
Expand Down Expand Up @@ -440,7 +440,7 @@ int32 TO_LAB_SendDataTypes(const TO_LAB_SendDataTypes_t *data)
/* TO_LAB_SendHousekeeping() -- HK status */
/* Does not increment CommandCounter */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 TO_LAB_SendHousekeeping(const CCSDS_CommandPacket_t *data)
int32 TO_LAB_SendHousekeeping(const CFE_SB_CmdHdr_t *data)
{
CFE_SB_TimeStampMsg(&TO_LAB_Global.HkBuf.MsgHdr);
CFE_SB_SendMsg(&TO_LAB_Global.HkBuf.MsgHdr);
Expand Down

0 comments on commit 9ccbc32

Please sign in to comment.