Skip to content

Commit

Permalink
Fix #127, Rename CommandCode variable to FcnCode
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Oct 19, 2022
1 parent a5e8b4b commit e741d2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fsw/src/ci_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ void CI_LAB_ProcessCommandPacket(CFE_SB_Buffer_t *SBBufPtr)

void CI_LAB_ProcessGroundCommand(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 e741d2a

Please sign in to comment.