Skip to content

Commit

Permalink
Merge pull request nasa#78 from jphickey/fix-48-pipeid-type
Browse files Browse the repository at this point in the history
Fix nasa#48, use proper CFE_SB_PipeID type
  • Loading branch information
astrogeco authored Dec 8, 2021
2 parents 3f2b3ae + 738a197 commit 153f781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unit-test/cf_cfdp_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -8826,7 +8826,7 @@ void Test_CF_CFDP_DisableEngine_ClosesAllActiveFilesAndNoOpenPlaybackDirectories
for (ci = 0; ci < CF_NUM_CHANNELS; ++ci)
{
dummy_channel[ci] = CF_AppData.engine.channels + ci;
dummy_channel[ci]->pipe = Any_uint8();
dummy_channel[ci]->pipe = CFE_SB_PIPEID_C(CFE_ResourceId_FromInteger(1 + ci));
for (qi = 0; qi < num_clist_node_ptrs; ++qi)
{
(CF_AppData.engine.channels + ci)->qs[qs_index[qi]] = malloc(sizeof(clist_node));
Expand Down Expand Up @@ -8916,7 +8916,7 @@ void Test_CF_CFDP_DisableEngine_ClosesAllActiveFilesAndAnyOpenPlaybackDirectorie
for (ci = 0; ci < CF_NUM_CHANNELS; ++ci)
{
dummy_channel[ci] = CF_AppData.engine.channels + ci;
dummy_channel[ci]->pipe = Any_uint8();
dummy_channel[ci]->pipe = CFE_SB_PIPEID_C(CFE_ResourceId_FromInteger(1 + ci));
for (qi = 0; qi < num_clist_node_ptrs; ++qi)
{
(CF_AppData.engine.channels + ci)->qs[qs_index[qi]] = malloc(sizeof(clist_node));
Expand Down Expand Up @@ -9023,7 +9023,7 @@ void Test_CF_CFDP_DisableEngine_ClosesAllActiveFilesAndAllOpenPlaybackDirectorie
for (ci = 0; ci < CF_NUM_CHANNELS; ++ci)
{
dummy_channel[ci] = CF_AppData.engine.channels + ci;
dummy_channel[ci]->pipe = Any_uint8();
dummy_channel[ci]->pipe = CFE_SB_PIPEID_C(CFE_ResourceId_FromInteger(1 + ci));
for (qi = 0; qi < num_clist_node_ptrs; ++qi)
{
(CF_AppData.engine.channels + ci)->qs[qs_index[qi]] = malloc(sizeof(clist_node));
Expand Down

0 comments on commit 153f781

Please sign in to comment.