Index: firmware/App/Controllers/DrainPump.c =================================================================== diff -u -r2fea76e972a450a97c74b2a9f627095032a3b586 -rccf1219089b835ab2f9d401c0be0d2000be9010a --- firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision 2fea76e972a450a97c74b2a9f627095032a3b586) +++ firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) @@ -160,7 +160,7 @@ * @details Outputs: drainPumpDAC, targetDrainPumpSpeed, drainPumpControlMode, * drainPumpControlModeSet * @param rpm new drain pump target RPM - * @return: TRUE if new target RPM is set, FALSE if not + * @return TRUE if new target RPM is set, FALSE if not *************************************************************************/ BOOL setDrainPumpTargetRPM( U32 rpm ) { @@ -192,7 +192,7 @@ * @details Outputs: targetDrainPumpDeltaPressure, hasClosedLoopBeenRequested, * drainPumpDAC, drainPumpControlMode, drainPumpControlModeSet * @param pressure new target drain pump outlet pressure - * @return: TRUE if new target speed is set, FALSE if not + * @return TRUE if new target speed is set, FALSE if not *************************************************************************/ BOOL setDrainPumpTargetOutletPressure( F32 pressure ) { @@ -289,7 +289,7 @@ * The execDrainPumpController function executes the drain pump controller. * @details Inputs: drainPumpState * @details Outputs: drainPumpState - * @return: none + * @return none *************************************************************************/ void execDrainPumpController( void ) { @@ -319,9 +319,9 @@ * @brief * The execDrainPumpSelfTest function executes the state machine for the drain * pump self-test. - * @detailsInputs: TODO FILL UP + * @details Inputs: TODO FILL UP * @details Outputs: TODO FILL UP - * @return: the current state of the Drain Pump self test. + * @return the current state of the Drain Pump self test. *************************************************************************/ SELF_TEST_STATUS_T execDrainPumpSelfTest( void ) { @@ -338,7 +338,7 @@ * RPM. * @details Inputs: targetDrainPumpRPM * @details Outputs: none - * @return: the current target drain pump RPM. + * @return the current target drain pump RPM. *************************************************************************/ U32 getTargetDrainPumpRPM( void ) { @@ -351,7 +351,7 @@ * delta pressure. * @details Inputs: targetDrainPumpOutletPressure * @details Outputs: none - * @return: the current target drain pump outlet pressure. + * @return the current target drain pump outlet pressure. *************************************************************************/ F32 getTargetDrainPumpOutletP( void ) { @@ -365,7 +365,7 @@ * @details Inputs: drainPumpControlModeSet, drainPumpDACSet, drainPumpDAC * hasClosedLoopBeenRequested * @details Outputs: drainPumpDACSet - * @return: next state for the controller state machine + * @return next state for the controller state machine *************************************************************************/ static DRAIN_PUMP_STATE_T handleDrainPumpOffState( void ) { @@ -409,7 +409,7 @@ * target state of the drain pump controller state machine. * @details Inputs: drainControlTimerCounter, drainPumpDACSet * @details Outputs: drainControlTimerCounter, drainPumpDACSet - * @return: next state of the controller state machine + * @return next state of the controller state machine *************************************************************************/ static DRAIN_PUMP_STATE_T handleDrainPumpControlToTargetState( void ) { @@ -465,7 +465,7 @@ * publication interval. * @details Inputs: drainPumpDataPublishInterval * @details Outputs: drainPumpDataPublishInterval - * @return: the current Drain pump data publication interval (in ms). + * @return the current Drain pump data publication interval (in ms). *************************************************************************/ static U32 getPublishDrainPumpDataInterval( void ) { @@ -485,7 +485,7 @@ * interval. * @details Inputs: drainPumpDataPublicationTimerCounter * @details Outputs: drainPumpDataPublicationTimerCounter - * @return: none + * @return none *************************************************************************/ static void publishDrainPumpData( void ) { @@ -518,7 +518,7 @@ * @details Inputs: drainPumpDataPublishInterval * @details Outputs: drainPumpDataPublishInterval * @param value override drain pump data publish interval with (in ms) - * @return: TRUE if override successful, FALSE if not + * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetDrainPumpDataPublishIntervalOverride( U32 value ) { @@ -565,7 +565,7 @@ * @details Inputs: none * @details Outputs: none * @param value override target drain pump RPM - * @return: TRUE if override successful, FALSE if not + * @return TRUE if override successful, FALSE if not *************************************************************************/ BOOL testSetTargetDrainPumpRPM( U32 value ) { Index: firmware/App/Controllers/TemperatureSensors.c =================================================================== diff -u -r2fea76e972a450a97c74b2a9f627095032a3b586 -rccf1219089b835ab2f9d401c0be0d2000be9010a --- firmware/App/Controllers/TemperatureSensors.c (.../TemperatureSensors.c) (revision 2fea76e972a450a97c74b2a9f627095032a3b586) +++ firmware/App/Controllers/TemperatureSensors.c (.../TemperatureSensors.c) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) @@ -507,7 +507,7 @@ * check if the read ADC is valid and if it is, the function calls another function * process the ADC and convert it to temperature. * @details Inputs: none - * @detailsOutputs: none + * @details Outputs: none * @param sensorIndex ID of temperature sensor to process * @param adc reported ADC value for temperature sensor * @param fpgaError reported error status by FPGA @@ -802,7 +802,7 @@ * @brief * The publishTemperatureSensorsData function broadcasts the temperature * sensors data at the publication interval. - * @detailsInputs: dataPublicationTimerCounter, tempValuesForPublication + * @details Inputs: dataPublicationTimerCounter, tempValuesForPublication * @details Outputs: dataPublicationTimerCounter, tempValuesForPublication * @return none *************************************************************************/ 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 ) Index: firmware/App/Controllers/UVReactors.h =================================================================== diff -u -r00b0fcefb9f74e7c050b5c83ad5c285e6769ef78 -rccf1219089b835ab2f9d401c0be0d2000be9010a --- firmware/App/Controllers/UVReactors.h (.../UVReactors.h) (revision 00b0fcefb9f74e7c050b5c83ad5c285e6769ef78) +++ firmware/App/Controllers/UVReactors.h (.../UVReactors.h) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) @@ -35,7 +35,7 @@ SELF_TEST_STATUS_T execUVReactorsSelfTest( void ); -void execUVReactos( void ); +void execUVReactors( void ); BOOL getUVReactorHealth( UV_REACTORS_T reactor ); Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r88f28230d288947ba84840b967e95b32e3deffaa -rccf1219089b835ab2f9d401c0be0d2000be9010a --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 88f28230d288947ba84840b967e95b32e3deffaa) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) @@ -95,7 +95,7 @@ execReservoirs(); // Manage UV reactors controller - execUVReactos(); + execUVReactors(); #ifndef DISABLE_HEATERS_AND_TEMPS // Primary heaters state machine