Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r2fea76e972a450a97c74b2a9f627095032a3b586 -rccf1219089b835ab2f9d401c0be0d2000be9010a --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 2fea76e972a450a97c74b2a9f627095032a3b586) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) @@ -58,7 +58,7 @@ static UV_REACTOR_STATUS_T reactorsStatus[ NUM_OF_UV_REACTORS ]; ///< UV reactors status array. static UV_REACTORS_SELF_TEST_STATE_T uvReactorsSelfTestStates = UV_REACTORS_SELF_TEST_OFF; ///< UV reactors self test state. -static SELF_TEST_STATUS_T uvReactosSelfTestResult = SELF_TEST_STATUS_IN_PROGRESS; ///< Valves self test result. +static SELF_TEST_STATUS_T uvReactorsSelfTestResult = SELF_TEST_STATUS_IN_PROGRESS; ///< Valves self test result. static OVERRIDE_U32_T uvReactorsDataPublishInterval = { UV_REACTORS_DATA_PUB_INTERVAL, UV_REACTORS_DATA_PUB_INTERVAL, 0, 0 }; ///< UV reactors data publish interval. @@ -83,17 +83,17 @@ /*********************************************************************//** * @brief * The initUVReactors function initializes the UV reactors module. - * @details Inputs: uvReactosSelfTestResult, dataPublishCounter, + * @details Inputs: uvReactorsSelfTestResult, dataPublishCounter, * reactorsStatus, selfTestStates - * @details Outputs: uvReactosSelfTestResult, dataPublishCounter, + * @details Outputs: uvReactorsSelfTestResult, dataPublishCounter, * reactorsStatus, selfTestStates * @return none *************************************************************************/ void initUVReactors( void ) { UV_REACTORS_T reactor; - uvReactosSelfTestResult = SELF_TEST_STATUS_IN_PROGRESS; + uvReactorsSelfTestResult = SELF_TEST_STATUS_IN_PROGRESS; uvReactorsSelfTestStates = UV_REACTORS_SELF_TEST_OFF; dataPublishCounter = 0; @@ -146,17 +146,17 @@ break; } - return uvReactosSelfTestResult; + return uvReactorsSelfTestResult; } /*********************************************************************//** * @brief - * The execUVReactos function executes the UV reactors exec states. + * The execUVReactors function executes the UV reactors exec states. * @details Inputs: reactorsStatus * @details Outputs: reactorsStatus * @return none *************************************************************************/ -void execUVReactos( void ) +void execUVReactors( void ) { UV_REACTORS_T reactor; @@ -295,8 +295,8 @@ * @brief * The handleUVReactorsSelfTestCheckHealth function handles the self test * check health state. - * @details Inputs: selfTestElapsedTime, uvReactosSelfTestResult - * @details Outputs: uvReactosSelfTestResult + * @details Inputs: selfTestElapsedTime, uvReactorsSelfTestResult + * @details Outputs: uvReactorsSelfTestResult * @return returns the next state of the self test state machine *************************************************************************/ static UV_REACTORS_SELF_TEST_STATE_T handleUVReactorsSelfTestCheckHealth( void ) @@ -312,11 +312,11 @@ // Check if both of them are healthy and if not, raise an alarm if ( TRUE == isInletHealthy && TRUE == isOutletHealthy ) { - uvReactosSelfTestResult = SELF_TEST_STATUS_PASSED; + uvReactorsSelfTestResult = SELF_TEST_STATUS_PASSED; } else { - uvReactosSelfTestResult = SELF_TEST_STATUS_FAILED; + uvReactorsSelfTestResult = SELF_TEST_STATUS_FAILED; // Check which reactor has not been healthy and raise an alarm if ( FALSE == isInletHealthy )