Skip to content

Commit

Permalink
Fix #135, Add version information to NOOP event
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Oct 22, 2022
1 parent 9e2ad8c commit 54a8227
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fsw/src/to_lab_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ void TO_LAB_exec_local_command(CFE_SB_Buffer_t *SBBufPtr)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 TO_LAB_Noop(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;
}
Expand Down

0 comments on commit 54a8227

Please sign in to comment.