Skip to content

Commit

Permalink
Update #45, Update for formatting
Browse files Browse the repository at this point in the history
Reduce redability and increase chance of future merge conflicts,
but appease the robo-formatter.
  • Loading branch information
jphickey committed Apr 6, 2020
1 parent cf78269 commit f2c3ac2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions fsw/src/ci_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ void CI_LAB_TaskInit(void)
*/
OS_TaskInstallDeleteHandler(&CI_LAB_delete_callback);

CFE_SB_InitMsg(&CI_LAB_Global.HkBuffer.HkTlm,
CFE_SB_ValueToMsgId(CI_LAB_HK_TLM_MID),
CI_LAB_HK_TLM_LNGTH, true);
CFE_SB_InitMsg(&CI_LAB_Global.HkBuffer.HkTlm, CFE_SB_ValueToMsgId(CI_LAB_HK_TLM_MID), CI_LAB_HK_TLM_LNGTH, true);

CFE_EVS_SendEvent(CI_LAB_STARTUP_INF_EID, CFE_EVS_EventType_INFORMATION, "CI Lab Initialized. Version %d.%d.%d.%d",
CI_LAB_MAJOR_VERSION, CI_LAB_MINOR_VERSION, CI_LAB_REVISION, CI_LAB_MISSION_REV);
Expand Down Expand Up @@ -410,10 +408,8 @@ bool CI_LAB_VerifyCmdLength(CFE_SB_MsgPtr_t msg, uint16 ExpectedLength)

CFE_EVS_SendEvent(CI_LAB_LEN_ERR_EID, CFE_EVS_EventType_ERROR,
"Invalid msg length: ID = 0x%X, CC = %u, Len = %u, Expected = %u",
(unsigned int)CFE_SB_MsgIdToValue(MessageID),
(unsigned int)CommandCode,
(unsigned int)ActualLength,
(unsigned int)ExpectedLength);
(unsigned int)CFE_SB_MsgIdToValue(MessageID), (unsigned int)CommandCode,
(unsigned int)ActualLength, (unsigned int)ExpectedLength);
result = false;
CI_LAB_Global.HkBuffer.HkTlm.Payload.CommandErrorCounter++;
}
Expand Down

0 comments on commit f2c3ac2

Please sign in to comment.