Skip to content

Commit

Permalink
Fix #50, Use MsgId Equal API to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper authored and Gerardo E. Cruz-Ortiz committed Aug 4, 2020
1 parent a7e7257 commit 8c38d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/to_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int32 TO_LAB_init(void)
/* Subscriptions for TLM pipe*/
for (i = 0; (i < (sizeof(TO_LAB_Subs->Subs) / sizeof(TO_LAB_Subs->Subs[0]))); i++)
{
if (CFE_SB_MsgIdToValue(TO_LAB_Subs->Subs[i].Stream) == TO_UNUSED)
if (CFE_SB_MsgId_Equal(TO_LAB_Subs->Subs[i].Stream, TO_UNUSED))
{
/* Only process until MsgId TO_UNUSED is found*/
break;
Expand Down

0 comments on commit 8c38d8b

Please sign in to comment.