Skip to content

Commit

Permalink
Merge pull request #142 from thnkslprpt:fix-141-convert-int32-return-…
Browse files Browse the repository at this point in the history
…codes-to-CFE_Status_t

Fix #141, Convert int32 return codes and variables to CFE_Status_t
  • Loading branch information
dzbaker committed Nov 13, 2023
2 parents 2ba0ff6 + 9b24dd9 commit ef6e0ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: "CodeQL Analysis"
on:
push:
pull_request:

jobs:
codeql:
name: Codeql
uses: nasa/cFS/.github/workflows/codeql-reusable.yml@main
with:
with:
component-path: apps/sch_lab
prep: 'make prep; make -C build/tools/elf2cfetbl'
make: 'make -C build/native/default_cpu1/apps/sch_lab'
1 change: 0 additions & 1 deletion .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
format-check:
name: Run format check
uses: nasa/cFS/.github/workflows/format-check.yml@main

1 change: 0 additions & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ jobs:
static-analysis:
name: Run cppcheck
uses: nasa/cFS/.github/workflows/static-analysis.yml@main

6 changes: 3 additions & 3 deletions fsw/src/sch_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SCH_LAB_GlobalData_t SCH_LAB_Global;
/*
** Local Function Prototypes
*/
int32 SCH_LAB_AppInit(void);
CFE_Status_t SCH_LAB_AppInit(void);

/*
** AppMain
Expand Down Expand Up @@ -148,10 +148,10 @@ void SCH_LAB_LocalTimerCallback(osal_id_t object_id, void *arg)
/* Initialization */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 SCH_LAB_AppInit(void)
CFE_Status_t SCH_LAB_AppInit(void)
{
int i, x;
int32 Status;
CFE_Status_t Status;
int32 OsStatus;
uint32 TimerPeriod;
osal_id_t TimeBaseId = OS_OBJECT_ID_UNDEFINED;
Expand Down

0 comments on commit ef6e0ea

Please sign in to comment.