From 990f1203a93e556fdabb62621a56a38cb251265d Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 3 Jan 2024 17:11:42 +0000 Subject: [PATCH] Fix #162, CFE_TIME_1HZ_CMD_MID deprecated --- fsw/src/sch_lab_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsw/src/sch_lab_app.c b/fsw/src/sch_lab_app.c index 2fe95c2..15196cc 100644 --- a/fsw/src/sch_lab_app.c +++ b/fsw/src/sch_lab_app.c @@ -285,7 +285,7 @@ CFE_Status_t SCH_LAB_AppInit(void) OS_printf("SCH Error creating pipe!\n"); } - Status = CFE_SB_Subscribe(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), SCH_LAB_Global.CmdPipe); + Status = CFE_SB_Subscribe(CFE_SB_ValueToMsgId(CFE_TIME_ONEHZ_CMD_MID), SCH_LAB_Global.CmdPipe); if (Status != CFE_SUCCESS) { OS_printf("SCH Error subscribing to 1hz!\n");