Index: firmware/App/Controllers/DrainPump.c =================================================================== diff -u -rc1ef106ed0f97dc998230c6e154aa2362aa476d8 -r4d7d40a27130dc813d653f044cbb856b1b7d8481 --- firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision c1ef106ed0f97dc998230c6e154aa2362aa476d8) +++ firmware/App/Controllers/DrainPump.c (.../DrainPump.c) (revision 4d7d40a27130dc813d653f044cbb856b1b7d8481) @@ -102,9 +102,8 @@ /*********************************************************************//** * @brief * The initDrainPump function initializes the DrainPump module. - * @details - * Inputs : none - * Outputs : DrainPump module initialized. + * @details Inputs: none + * @details Outputs: DrainPump module initialized. * @return none *************************************************************************/ void initDrainPump( void ) @@ -115,9 +114,8 @@ /*********************************************************************//** * @brief * The setDrainPumpTargetSpeed function sets a new target speed for the drain pump. - * @details - * Inputs : none - * Outputs : targetDrainPumpPressure + * @details Inputs: none + * @details Outputs: targetDrainPumpPressure * @param rpm new target drain pump speed (in RPM) * @return TRUE if new target speed is set, FALSE if not *************************************************************************/ @@ -144,9 +142,8 @@ /*********************************************************************//** * @brief * The signalDrainPumpHardStop function stops the Drain pump immediately. - * @details - * Inputs : none - * Outputs : Drain pump stopped, set point reset, state changed to off + * @details Inputs: none + * @details Outputs: Drain pump stopped, set point reset, state changed to off * @return none *************************************************************************/ void signalDrainPumpHardStop( void ) @@ -160,9 +157,8 @@ /*********************************************************************//** * @brief * The execDrainPumpMonitor function executes the drain pump monitor. - * @details - * Inputs : none - * Outputs : publish drain pump data + * @details Inputs: none + * @details Outputs: publish drain pump data * @return none *************************************************************************/ void execDrainPumpMonitor( void ) @@ -180,9 +176,8 @@ /*********************************************************************//** * @brief * The execDrainPumpController function executes the drain pump controller. - * @details - * Inputs : drainPumpState - * Outputs : drainPumpState + * @details Inputs: drainPumpState + * @details Outputs: drainPumpState * @return none *************************************************************************/ void execDrainPumpController( void ) @@ -208,9 +203,8 @@ * @brief * The handleDrainPumpOffState function handles the drain pump off state of * the drain pump controller state machine. - * @details - * Inputs : targetDrainPumpSpeed - * Outputs : drainPumpPWMDutyCyclePctSet, isDrainPumpOn + * @details Inputs: targetDrainPumpSpeed + * @details Outputs: drainPumpPWMDutyCyclePctSet, isDrainPumpOn * @return next state *************************************************************************/ static DRAIN_PUMP_STATE_T handleDrainPumpOffState( void ) @@ -256,9 +250,8 @@ * @brief * The handleDrainPumpControlToTargetState function handles the "control to * target" state of the drain pump controller state machine. - * @details - * Inputs : none - * Outputs : drainPumpState + * @details Inputs: none + * @details Outputs: drainPumpState * @return next state *************************************************************************/ static DRAIN_PUMP_STATE_T handleDrainPumpControlToTargetState( void ) @@ -306,9 +299,8 @@ /*********************************************************************//** * @brief * The stopDrainPump function sets the drain pump DAC to zero. - * @details - * Inputs : none - * Outputs : isDrainPumpOn, DAC zeroed, clear drain pump enable + * @details Inputs: none + * @details Outputs: isDrainPumpOn, DAC zeroed, clear drain pump enable * @return none *************************************************************************/ static void stopDrainPump( void ) @@ -324,9 +316,8 @@ * @brief * The getPublishDrainPumpDataInterval function gets the drain pump data * publication interval. - * @details - * Inputs : drainPumpDataPublishInterval - * Outputs : none + * @details Inputs: drainPumpDataPublishInterval + * @details Outputs: none * @return the current drain pump data publication interval (in ms). *************************************************************************/ static U32 getPublishDrainPumpDataInterval( void ) @@ -345,9 +336,8 @@ * @brief * The getTargetDrainPumpSpeed function gets the current target drain pump * speed. - * @details - * Inputs : targetDrainPumpSpeed - * Outputs : none + * @details Inputs: targetDrainPumpSpeed + * @details Outputs: none * @return the current target drain pump speed. *************************************************************************/ U32 getTargetDrainPumpSpeed( void ) @@ -365,9 +355,8 @@ /*********************************************************************//** * @brief * The publishDrainPumpData function publishes drain pump data at the set interval. - * @details - * Inputs : target speed - * Outputs : Drain pump data is published to CAN bus. + * @details Inputs: target speed + * @details Outputs: Drain pump data is published to CAN bus. * @return none *************************************************************************/ static void publishDrainPumpData( void ) @@ -385,9 +374,8 @@ * @brief * The execDrainPumpTest function executes the state machine for the drain * pump self-test. - * @details - * Inputs : none - * Outputs : none + * @details Inputs: none + * @details Outputs: none * @return the current state of the drain pump self-test. *************************************************************************/ SELF_TEST_STATUS_T execDrainPumpTest( void ) @@ -409,9 +397,8 @@ * @brief * The testSetDrainPumpDataPublishIntervalOverride function overrides the * drain pump data publish interval. - * @details - * Inputs : none - * Outputs : drainPumpDataPublishInterval + * @details Inputs: none + * @details Outputs: drainPumpDataPublishInterval * @param value override drain pump data publish interval with (in ms) * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -435,9 +422,8 @@ * @brief * The testResetDrainPumpDataPublishIntervalOverride function resets the * override of the drain pump data publish interval. - * @details - * Inputs : none - * Outputs : drainPumpDataPublishInterval + * @details Inputs: none + * @details Outputs: drainPumpDataPublishInterval * @return TRUE if override reset successful, FALSE if not *************************************************************************/ BOOL testResetDrainPumpDataPublishIntervalOverride( void ) @@ -458,9 +444,8 @@ * @brief * The testSetTargetDrainPumpSpeedOverride function overrides the target * drain pump speed (in RPM). - * @details - * Inputs : none - * Outputs : targetDrainPumpSpeed + * @details Inputs: none + * @details Outputs: targetDrainPumpSpeed * @param value override target drain pump speed (in RPM) * @return TRUE if override successful, FALSE if not *************************************************************************/ @@ -483,9 +468,8 @@ * @brief * The testResetTargetDrainPumpSpeedOverride function resets the override of the * target drain pump speed (in RPM). - * @details - * Inputs : none - * Outputs : targetDrainPumpSpeed + * @details Inputs: none + * @details Outputs: targetDrainPumpSpeed * @return TRUE if override reset successful, FALSE if not *************************************************************************/ BOOL testResetTargetDrainPumpSpeedOverride( void )