From 845fa9aff1c78d8c884610f86c09a3a9caabb38a Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 24 Jan 2020 14:50:00 -0500 Subject: [PATCH] Fixes #35, Build fails with deprecated cFE/OSAL elements removed --- fsw/src/sch_lab_app.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fsw/src/sch_lab_app.c b/fsw/src/sch_lab_app.c index a33e4a8..23a314f 100644 --- a/fsw/src/sch_lab_app.c +++ b/fsw/src/sch_lab_app.c @@ -62,7 +62,7 @@ void SCH_Lab_AppMain(void) int i; uint32 SCH_OneHzPktsRcvd = 0; uint32 Status = CFE_SUCCESS; - uint32 RunStatus = CFE_ES_APP_RUN; + uint32 RunStatus = CFE_ES_RunStatus_APP_RUN; CFE_ES_PerfLogEntry(SCH_MAIN_TASK_PERF_ID); @@ -87,7 +87,7 @@ void SCH_Lab_AppMain(void) } /* Loop Forever */ - while (CFE_ES_RunLoop(&RunStatus) == TRUE) + while (CFE_ES_RunLoop(&RunStatus) == true) { CFE_ES_PerfLogExit(SCH_MAIN_TASK_PERF_ID); @@ -199,7 +199,7 @@ int32 SCH_LAB_AppInit(void) { CFE_SB_InitMsg(&SCH_CmdHeaderTable[i], MySchTBL->MessageID[i], - sizeof(CFE_SB_CmdHdr_t), TRUE); + sizeof(CFE_SB_CmdHdr_t), true); } else {