CFE_ES_ExitApp
called with internal status
control parameter rather than RunStatus
#148
Closed
2 tasks done
Checklist
Describe the bug
The call to
CFE_ES_ExitApp
inSCH_Lab_AppMain
is called with the internalstatus
control parameter, but I believeCFE_ES_ExitApp
is expecting theRunStatus
variable instead.This means when a command is given to sch_lab that causes
CFE_ES_ExitApp
to be called (e.g.CFE_ES_RestartApp
) it will report an error via this path inCFE_ES_ExitApp
:https://github.com/nasa/cFE/blob/c1aa16ae647f6ec4b2f23175a120be29034b8462/modules/es/fsw/src/cfe_es_api.c#L352-L358
Code snips
sch_lab/fsw/src/sch_lab_app.c
Line 145 in 82645f5
Expected behavior
Call
CFE_ES_ExitApp
with theRunStatus
argument.Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: