Index: firmware/App/Modes/ModeRecirculate.c =================================================================== diff -u -r9f25f22ef6cd3566f8f7fbbc5c037a69e7f9411b -rbbf1e3736be03a4f041ace57e0f95e23caf472dd --- firmware/App/Modes/ModeRecirculate.c (.../ModeRecirculate.c) (revision 9f25f22ef6cd3566f8f7fbbc5c037a69e7f9411b) +++ firmware/App/Modes/ModeRecirculate.c (.../ModeRecirculate.c) (revision bbf1e3736be03a4f041ace57e0f95e23caf472dd) @@ -24,7 +24,7 @@ #include "ModeRecirculate.h" /** - * @addtogroup RecirculateMode + * @addtogroup DGRecirculateMode * @{ */ @@ -36,7 +36,7 @@ // ********** private data ********** static DG_RECIRCULATE_MODE_STATE_T recircState; ///< Currently active re-circulation state. -static F32 flushLinesVolume = 0.0; ///< Volume of water pumped by RO pump during flush lines state. +static F32 flushLinesVolumeL = 0.0; ///< Volume of water pumped by RO pump during flush lines state. // ********** private function prototypes ********** @@ -55,7 +55,7 @@ void initRecirculateMode( void ) { recircState = DG_RECIRCULATE_MODE_STATE_START; - flushLinesVolume = 0.0; + flushLinesVolumeL = 0.0; } /*********************************************************************//** @@ -138,10 +138,10 @@ F32 waterVolume = ( ( waterFlowRate / SEC_PER_MIN ) / ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) ); // integrate volume of water moved through line - flushLinesVolume += waterVolume; + flushLinesVolumeL += waterVolume; // when enough water volume has flowed to flush the lines, transition to re-circ state - if ( flushLinesVolume >= FLUSH_LINES_VOLUME_L ) + if ( flushLinesVolumeL >= FLUSH_LINES_VOLUME_L ) { setValveState( VDR, VALVE_STATE_RECIRC_C_TO_NC ); result = DG_RECIRCULATE_MODE_STATE_RECIRC_WATER;