Skip to content

Commit

Permalink
Merge pull request #91 from jphickey/fix-90-msgidvalue
Browse files Browse the repository at this point in the history
Fix #90, apply CFE_SB_ValueToMsgId where required
  • Loading branch information
astrogeco authored Sep 21, 2021
2 parents 19bf84c + 1bd3dd3 commit 77e0c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/src/sch_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ int32 SCH_LAB_AppInit(void)
OS_printf("SCH Error creating pipe!\n");
}

Status = CFE_SB_Subscribe(CFE_TIME_1HZ_CMD_MID, SCH_LAB_Global.CmdPipe);
Status = CFE_SB_Subscribe(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), SCH_LAB_Global.CmdPipe);
if (Status != CFE_SUCCESS)
{
OS_printf("SCH Error subscribing to 1hz!\n");
Expand Down

0 comments on commit 77e0c0e

Please sign in to comment.