From 5397d68795ed7719e8df7086257bb13d1187d75a Mon Sep 17 00:00:00 2001 From: Avi Weiss Date: Tue, 26 Sep 2023 12:05:00 +1000 Subject: [PATCH] Fix #148, Call `CFE_ES_ExitApp` with `RunStatus` rather than internal 'status' variable --- 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 d699768..73a57f7 100644 --- a/fsw/src/sch_lab_app.c +++ b/fsw/src/sch_lab_app.c @@ -142,7 +142,7 @@ void SCH_Lab_AppMain(void) } /* end while */ - CFE_ES_ExitApp(Status); + CFE_ES_ExitApp(RunStatus); } void SCH_LAB_LocalTimerCallback(osal_id_t object_id, void *arg)