From 8a55d6c070432b4ebc7be6f51625af4b3df05cd4 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 28 Sep 2022 18:56:22 +1000 Subject: [PATCH] Noticed a few typos in the comments - fixed them up. --- fsw/platform_inc/sc_msgids.h | 2 +- fsw/src/sc_events.h | 32 ++++++++++++++++---------------- fsw/src/sc_loads.c | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/fsw/platform_inc/sc_msgids.h b/fsw/platform_inc/sc_msgids.h index 9187b42..932a5b2 100644 --- a/fsw/platform_inc/sc_msgids.h +++ b/fsw/platform_inc/sc_msgids.h @@ -31,7 +31,7 @@ #define SC_CMD_MID (0x18A9) /**< \brief Msg ID for cmds to SC */ #define SC_SEND_HK_MID (0x18AA) /**< \brief Msg ID to request SC HK */ -#define SC_1HZ_WAKEUP_MID (0x18AB) /**< \brief Msg ID to recieve the 1Hz */ +#define SC_1HZ_WAKEUP_MID (0x18AB) /**< \brief Msg ID to receive the 1Hz */ /**\}*/ diff --git a/fsw/src/sc_events.h b/fsw/src/sc_events.h index 82dafb9..edcac4a 100644 --- a/fsw/src/sc_events.h +++ b/fsw/src/sc_events.h @@ -47,7 +47,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a command is recieved, but it is not of the expected + * This event message is issued when a command is received, but it is not of the expected * length */ #define SC_LEN_ERR_EID 2 @@ -417,7 +417,7 @@ * \par Type: DEBUG * * \par Cause: - * This event message is issued when the #SC_CONTINUE_ATS_ON_FAILURE_CC command was recieved and + * This event message is issued when the #SC_CONTINUE_ATS_ON_FAILURE_CC command was received and * the state was changed successfully */ #define SC_CONT_CMD_DEB_EID 43 @@ -495,7 +495,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when an RTS comand was about to be sent out, + * This event message is issued when an RTS command was about to be sent out, * but the command failed checksum validation */ #define SC_RTS_CHKSUM_ERR_EID 50 @@ -571,7 +571,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when an invalid message Id is recieved in the + * This event message is issued when an invalid message Id is received in the * command pipe */ #define SC_MID_ERR_EID 63 @@ -582,7 +582,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when an invalid command code was recieved in + * This event message is issued when an invalid command code was received in * the command pipe */ #define SC_INVLD_CMD_ERR_EID 64 @@ -670,7 +670,7 @@ * \par Type: DEBUG * * \par Cause: - * This event message is issued when a #SC_START_RTS_CC cmd is recieved and is sucessful + * This event message is issued when a #SC_START_RTS_CC cmd is received and is successful */ #define SC_STARTRTS_CMD_DBG_EID 72 @@ -680,7 +680,7 @@ * \par Type: INFORMATIONAL * * \par Cause: - * This event message is issued when an RTS is started sucessfully + * This event message is issued when an RTS is started successfully */ #define SC_RTS_START_INF_EID 73 @@ -711,7 +711,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a #SC_START_RTS_CC command was recieved, but the + * This event message is issued when a #SC_START_RTS_CC command was received, but the * RTS is disabled */ #define SC_STARTRTS_CMD_DISABLED_ERR_EID 76 @@ -722,7 +722,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a #SC_START_RTS_CC command was recieved, but the + * This event message is issued when a #SC_START_RTS_CC command was received, but the * RTS Id was invalid */ #define SC_STARTRTS_CMD_INVALID_ERR_EID 77 @@ -733,7 +733,7 @@ * \par Type: INFORMATIONAL * * \par Cause: - * This event message is issued when an #SC_STOP_RTS_CC command is received and exexuted sucessfully + * This event message is issued when an #SC_STOP_RTS_CC command is received and exexuted successfully */ #define SC_STOPRTS_CMD_INF_EID 78 @@ -754,7 +754,7 @@ * \par Type: DEBUG * * \par Cause: - * This event message is issued when a #SC_DISABLE_RTS_CC command was recieved, and executed sucessfully + * This event message is issued when a #SC_DISABLE_RTS_CC command was received, and executed successfully */ #define SC_DISABLE_RTS_DEB_EID 80 @@ -764,7 +764,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a #SC_DISABLE_RTS_CC command was recieved, + * This event message is issued when a #SC_DISABLE_RTS_CC command was received, * but the RTS Id given was invalid */ #define SC_DISRTS_CMD_ERR_EID 81 @@ -775,7 +775,7 @@ * \par Type: DEBUG * * \par Cause: - * This event message is issued when a #SC_ENABLE_RTS_CC command was recieved, and executed sucessfully + * This event message is issued when a #SC_ENABLE_RTS_CC command was received, and executed successfully */ #define SC_ENABLE_RTS_DEB_EID 82 @@ -785,7 +785,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a #SC_DISABLE_RTS_CC command was recieved, + * This event message is issued when a #SC_DISABLE_RTS_CC command was received, * but the RTS Id given was invalid */ #define SC_ENARTS_CMD_ERR_EID 83 @@ -945,7 +945,7 @@ #define SC_VERIFY_ATS_EID 103 /** - * \brief SC ATS Or Append Table Verification Table Entry Comamnd Number Invalid Event ID + * \brief SC ATS Or Append Table Verification Table Entry Command Number Invalid Event ID * * \par Type: ERROR * @@ -1226,7 +1226,7 @@ * \par Type: ERROR * * \par Cause: - * This event message is issued when a #SC_START_RTSGRP_CC command was recieved, but an + * This event message is issued when a #SC_START_RTSGRP_CC command was received, but an * RTS is marked as #SC_LOADED */ #define SC_STARTRTSGRP_CMD_NOT_LDED_ERR_EID 126 diff --git a/fsw/src/sc_loads.c b/fsw/src/sc_loads.c index 8a11eed..e1b2ace 100644 --- a/fsw/src/sc_loads.c +++ b/fsw/src/sc_loads.c @@ -171,7 +171,7 @@ void SC_LoadAts(uint16 AtsIndex) /* ** Now the commands are parsed through, need to build the tables - ** if the load was a sucess, need to build the tables + ** if the load was a success, need to build the tables */ /* if the load finished without errors and there was at least one command */ if ((Result == CFE_SUCCESS) && (SC_OperData.AtsInfoTblAddr[AtsIndex].NumberOfCommands > 0))