Skip to content

Commit

Permalink
Fix nasa#52, Add version information to NOOP event
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt authored and jphickey committed Nov 9, 2023
1 parent 7e46009 commit ea9219f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fsw/src/ci_lab_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "ci_lab_app.h"
#include "ci_lab_cmds.h"
#include "ci_lab_version.h"

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
Expand All @@ -39,7 +40,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_NOOP_INF_EID, CFE_EVS_EventType_INFORMATION, "CI: NOOP command");
CFE_EVS_SendEvent(CI_LAB_NOOP_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 ea9219f

Please sign in to comment.