From 6bd2a62c2d2b35ef5778ef736e39468b86eccea3 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 15 Feb 2023 06:23:28 +1000 Subject: [PATCH] Fix #64, Remove extraneous assignments to CFE_SUCCESS --- fsw/inc/hs_custom.h | 2 +- fsw/inc/hs_events.h | 2 +- fsw/src/hs_app.c | 4 ++-- fsw/src/hs_custom_internal.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fsw/inc/hs_custom.h b/fsw/inc/hs_custom.h index d13979a..b62668b 100644 --- a/fsw/inc/hs_custom.h +++ b/fsw/inc/hs_custom.h @@ -170,7 +170,7 @@ #define HS_UTIL_DIAG_REPORT_EID 103 /** - * \brief HS Set Utilization Paramaters Command Event ID + * \brief HS Set Utilization Parameter Command Event ID * * \par Type: Debug * diff --git a/fsw/inc/hs_events.h b/fsw/inc/hs_events.h index e9243fb..30675b0 100644 --- a/fsw/inc/hs_events.h +++ b/fsw/inc/hs_events.h @@ -19,7 +19,7 @@ /** * @file - * Specification for the CFS Health and Safety (HS) event identifers. + * Specification for the CFS Health and Safety (HS) event identifiers. */ #ifndef HS_EVENTS_H #define HS_EVENTS_H diff --git a/fsw/src/hs_app.c b/fsw/src/hs_app.c index 49c5411..8f7d47c 100644 --- a/fsw/src/hs_app.c +++ b/fsw/src/hs_app.c @@ -53,7 +53,7 @@ HS_AppData_t HS_AppData; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ void HS_AppMain(void) { - int32 Status = CFE_SUCCESS; + int32 Status; uint32 RunStatus = CFE_ES_RunStatus_APP_RUN; CFE_SB_Buffer_t *BufPtr = NULL; @@ -422,7 +422,7 @@ int32 HS_TblInit(void) { uint32 TableSize = 0; uint32 TableIndex = 0; - int32 Status = CFE_SUCCESS; + int32 Status; /* Register The HS Applications Monitor Table */ TableSize = HS_MAX_MONITORED_APPS * sizeof(HS_AMTEntry_t); diff --git a/fsw/src/hs_custom_internal.h b/fsw/src/hs_custom_internal.h index 23a2f32..ef9fba5 100644 --- a/fsw/src/hs_custom_internal.h +++ b/fsw/src/hs_custom_internal.h @@ -223,7 +223,7 @@ void HS_MarkIdleCallback(void); void HS_UtilDiagReport(void); /** - * \brief Set Utilization Paramters + * \brief Set Utilization Parameters * * \par Description * This function sets the Utilization Parameters. @@ -236,7 +236,7 @@ void HS_UtilDiagReport(void); void HS_SetUtilParamsCmd(const CFE_SB_Buffer_t *BufPtr); /** - * \brief Set Utilization Diagnostics Paramater + * \brief Set Utilization Diagnostics Parameter * * \par Description * This function sets the utilization diagnostics parameter.