Skip to content

Commit

Permalink
Merge pull request #146 from thnkslprpt:fix-145-refactor-mutually-exc…
Browse files Browse the repository at this point in the history
…l-if-elseif

Fix #145, Refactor mutually exclusive logic in if, else if block
  • Loading branch information
dzbaker committed Nov 13, 2023
2 parents 503f9e3 + fce77cf commit d64ae8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsw/src/to_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ int32 TO_LAB_init(void)
/* Only process until invalid MsgId is found*/
break;
}
status = CFE_SB_SubscribeEx(TO_LAB_Subs->Subs[i].Stream, TO_LAB_Global.Tlm_pipe, TO_LAB_Subs->Subs[i].Flags,
TO_LAB_Subs->Subs[i].BufLimit);

status = CFE_SB_SubscribeEx(SubEntry->Stream, TO_LAB_Global.Tlm_pipe, SubEntry->Flags, SubEntry->BufLimit);
if (status != CFE_SUCCESS)
Expand Down

0 comments on commit d64ae8d

Please sign in to comment.