Skip to content

Commit

Permalink
Fix nasa#543, Add CFE_SB_GetPktType unit test stub
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Apr 8, 2020
1 parent 83409c5 commit c98c4cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fsw/cfe-core/ut-stubs/ut_sb_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,3 +873,12 @@ void CFE_SB_SetTotalMsgLength (CFE_SB_MsgPtr_t MsgPtr,uint16 TotalLength)
UT_Stub_CopyFromLocal(UT_KEY(CFE_SB_SetTotalMsgLength), &TotalLength, sizeof(TotalLength));
}

uint32 CFE_SB_GetPktType(CFE_SB_MsgId_t MsgId)
{
int32 status;

status = UT_DEFAULT_IMPL(CFE_SB_GetPktType);

return (uint8) status;
}

0 comments on commit c98c4cc

Please sign in to comment.