Skip to content

Commit

Permalink
Merge pull request #128 from thnkslprpt/fix-127-rename-commandcode-va…
Browse files Browse the repository at this point in the history
…riable

Fix #127, Rename CommandCode variable to FcnCode
  • Loading branch information
dmknutsen authored Nov 8, 2023
2 parents fbe0c68 + 2c398c0 commit 36d976a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fsw/src/ci_lab_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ bool CI_LAB_VerifyCmdLength(const CFE_MSG_Message_t *MsgPtr, size_t ExpectedLeng

void CI_LAB_ProcessGroundCommand(const CFE_SB_Buffer_t *SBBufPtr)
{
CFE_MSG_FcnCode_t CommandCode = 0;
CFE_MSG_FcnCode_t FcnCode = 0;

CFE_MSG_GetFcnCode(&SBBufPtr->Msg, &CommandCode);
CFE_MSG_GetFcnCode(&SBBufPtr->Msg, &FcnCode);

/* Process "known" CI task ground commands */
switch (CommandCode)
switch (FcnCode)
{
case CI_LAB_NOOP_CC:
if (CI_LAB_VerifyCmdLength(&SBBufPtr->Msg, sizeof(CI_LAB_NoopCmd_t)))
Expand Down

0 comments on commit 36d976a

Please sign in to comment.