From 3181539dd0648302fdf240e9816f358a68b76487 Mon Sep 17 00:00:00 2001 From: Avi Date: Sat, 22 Oct 2022 21:13:59 +1000 Subject: [PATCH] Fix #135, Add version information to NOOP event --- fsw/src/to_lab_cmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fsw/src/to_lab_cmds.c b/fsw/src/to_lab_cmds.c index 980d7d7..43f8e64 100644 --- a/fsw/src/to_lab_cmds.c +++ b/fsw/src/to_lab_cmds.c @@ -61,7 +61,8 @@ CFE_Status_t TO_LAB_EnableOutputCmd(const TO_LAB_EnableOutputCmd_t *data) /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ CFE_Status_t TO_LAB_NoopCmd(const TO_LAB_NoopCmd_t *data) { - CFE_EVS_SendEvent(TO_LAB_NOOP_INF_EID, CFE_EVS_EventType_INFORMATION, "No-op command"); + CFE_EVS_SendEvent(TO_LAB_NOOP_INF_EID, CFE_EVS_EventType_INFORMATION, "TO: NOOP command. Version %d.%d.%d.%d", + TO_LAB_MAJOR_VERSION, TO_LAB_MINOR_VERSION, TO_LAB_REVISION, TO_LAB_MISSION_REV); ++TO_LAB_Global.HkTlm.Payload.CommandCounter; return CFE_SUCCESS; }