Skip to content

Commit

Permalink
Fix #52, Add version information to NOOP event
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Nov 1, 2023
1 parent 2930b94 commit 64b4b35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fsw/src/ci_lab_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ CFE_Status_t CI_LAB_NoopCmd(const CI_LAB_NoopCmd_t *cmd)
/* Does everything the name implies */
CI_LAB_Global.HkTlm.Payload.CommandCounter++;

CFE_EVS_SendEvent(CI_LAB_COMMANDNOP_INF_EID, CFE_EVS_EventType_INFORMATION, "CI: NOOP command");
CFE_EVS_SendEvent(CI_LAB_COMMANDNOP_INF_EID, CFE_EVS_EventType_INFORMATION, "CI: NOOP command. Version %d.%d.%d.%d",
CI_LAB_MAJOR_VERSION, CI_LAB_MINOR_VERSION, CI_LAB_REVISION, CI_LAB_MISSION_REV);

return CFE_SUCCESS;
}
Expand Down

0 comments on commit 64b4b35

Please sign in to comment.