Skip to content

Commit

Permalink
Fix nasa#77, Add break to default case of switch in LC_VerifyMsgLength
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Mar 13, 2023
1 parent 2f177ae commit d6aba3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fsw/inc/lc_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* @file
* Specification for the CFS Limit Checker (LC) event identifers.
* Specification for the CFS Limit Checker (LC) event identifiers.
*/
#ifndef LC_EVENTS_H
#define LC_EVENTS_H
Expand Down
1 change: 1 addition & 0 deletions fsw/src/lc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ bool LC_VerifyMsgLength(const CFE_MSG_Message_t *MsgPtr, size_t ExpectedLength)
(unsigned long)CFE_SB_MsgIdToValue(MessageID), CommandCode, (int)ActualLength,
(int)ExpectedLength);
LC_AppData.CmdErrCount++;
break;
}

result = false;
Expand Down

0 comments on commit d6aba3d

Please sign in to comment.