diff --git a/.github/workflows/snapshot-module.yml b/.github/workflows/snapshot-module.yml new file mode 100644 index 0000000..64d56b8 --- /dev/null +++ b/.github/workflows/snapshot-module.yml @@ -0,0 +1,35 @@ +name: Snapshot CFS module + +on: + workflow_dispatch: + inputs: + base-branch: + description: 'The base branch to merge into' + type: string + required: false + default: 'main' + ic-branch: + description: 'The temporary integration branch to create (ic)' + type: string + required: false + default: 'ic-snapshot-dev' + dev-branch: + description: 'The branch to pull in' + type: string + required: false + default: 'dev' + pr-label: + description: 'The label(s) to apply to the generated PR' + type: string + required: false + default: '' + +jobs: + snapshot-module: + name: Snapshot module + uses: nasa/cFS/.github/workflows/snapshot-module-reusable.yml@dev + with: + base-branch: ${{ inputs.base-branch }} + ic-branch: ${{ inputs.ic-branch }} + dev-branch: ${{ inputs.dev-branch }} + pr-label: ${{ inputs.pr-label }} diff --git a/fsw/src/sc_loads.c b/fsw/src/sc_loads.c index 4273a52..af92738 100644 --- a/fsw/src/sc_loads.c +++ b/fsw/src/sc_loads.c @@ -821,7 +821,7 @@ int32 SC_VerifyAtsEntry(uint32 *Buffer32, int32 EntryIndex, int32 BufferWords) SC_AtsEntry_t *EntryPtr; CFE_MSG_Size_t CommandBytes = 0; int32 CommandWords; - int32 Result = CFE_SUCCESS; + int32 Result; EntryPtr = (SC_AtsEntry_t *)&Buffer32[EntryIndex];