Skip to content

Commit

Permalink
Fix #111, Update LC_RESET_DBG_EID to be informational
Browse files Browse the repository at this point in the history
Fix #111, update LC_RESET_DBG_EID to be informational event instead of
debug
  • Loading branch information
Anh committed Jun 21, 2024
1 parent b8769cd commit 1e9dff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/default_lc_fcncodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions fsw/inc/lc_eventids.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/lc_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
Expand Down

0 comments on commit 1e9dff1

Please sign in to comment.