Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #38, Remove stray terminators #39

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions fsw/src/cs_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,12 @@ void CS_ResetCmd(const CS_NoArgsCmd_t *CmdPtr)
void CS_BackgroundCheckCycle(const CS_NoArgsCmd_t *CmdPtr)
{
/* command verification variables */
size_t ExpectedLength = sizeof(CS_NoArgsCmd_t);
bool DoneWithCycle = false;
bool EndOfList = false;
CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;
;
CFE_MSG_FcnCode_t CommandCode = 0;
size_t ActualLength = 0;
size_t ExpectedLength = sizeof(CS_NoArgsCmd_t);
bool DoneWithCycle = false;
bool EndOfList = false;
CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;
CFE_MSG_FcnCode_t CommandCode = 0;
size_t ActualLength = 0;

CFE_MSG_GetSize(&CmdPtr->CmdHeader.Msg, &ActualLength);

Expand Down