Skip to content

Commit

Permalink
Merge pull request #42 from jphickey/fix-41-ccsds-refs
Browse files Browse the repository at this point in the history
Fix #41, remove dependencies on CCSDS types
  • Loading branch information
astrogeco authored Jun 3, 2020
2 parents 8b28243 + 862a9ee commit 491e2ce
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 @@ -100,7 +100,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 @@ -273,7 +273,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 @@ -417,7 +417,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 491e2ce

Please sign in to comment.