From 1e9dff1658f817b7026da8229b4e8d8b0e0d80ee Mon Sep 17 00:00:00 2001 From: Anh Date: Mon, 3 Jun 2024 08:33:59 -0400 Subject: [PATCH] Fix #111, Update LC_RESET_DBG_EID to be informational Fix #111, update LC_RESET_DBG_EID to be informational event instead of debug --- config/default_lc_fcncodes.h | 2 +- fsw/inc/lc_eventids.h | 4 ++-- fsw/src/lc_cmds.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/default_lc_fcncodes.h b/config/default_lc_fcncodes.h index 4279e8a..e0dc61a 100644 --- a/config/default_lc_fcncodes.h +++ b/config/default_lc_fcncodes.h @@ -79,7 +79,7 @@ * Successful execution of this command may be verified with * the following telemetry: * - #LC_HkTlm_Payload_t.CmdCount will be cleared - * - The #LC_RESET_DBG_EID debug event message will be + * - The #LC_RESET_INF_EID debug event message will be * generated when the command is executed * * \par Error Conditions diff --git a/fsw/inc/lc_eventids.h b/fsw/inc/lc_eventids.h index 201a671..4b046a6 100644 --- a/fsw/inc/lc_eventids.h +++ b/fsw/inc/lc_eventids.h @@ -394,14 +394,14 @@ /** * \brief LC Reset Counters Command Event ID * - * \par Type: DEBUG + * \par Type: INFORMATION * * \par Cause: * * This event message is issued when a reset counters command has * been received. */ -#define LC_RESET_DBG_EID 27 +#define LC_RESET_INF_EID 27 /** * \brief LC Set Limit Checker State Command Event ID diff --git a/fsw/src/lc_cmds.c b/fsw/src/lc_cmds.c index f7f4514..c232452 100644 --- a/fsw/src/lc_cmds.c +++ b/fsw/src/lc_cmds.c @@ -280,7 +280,7 @@ void LC_ResetCountersCmd(const CFE_SB_Buffer_t *BufPtr) { LC_ResetCounters(); - CFE_EVS_SendEvent(LC_RESET_DBG_EID, CFE_EVS_EventType_DEBUG, "Reset counters command"); + CFE_EVS_SendEvent(LC_RESET_INF_EID, CFE_EVS_EventType_INFORMATION, "Reset counters command"); } /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */