Index: firmware/App/Controllers/ROPump.c =================================================================== diff -u -r75ccce259b4eb255d089f48aecb199274d7298ae -r04a86b2e8ae3f5643f72de134882948f3c59f1d6 --- firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision 75ccce259b4eb255d089f48aecb199274d7298ae) +++ firmware/App/Controllers/ROPump.c (.../ROPump.c) (revision 04a86b2e8ae3f5643f72de134882948f3c59f1d6) @@ -67,7 +67,6 @@ static F32 roPumpDutyCyclePctSet; ///< Currently set RO pump PWM duty cycle. static OVERRIDE_F32_T roPumpOpenLoopTargetDutyCycle; ///< Target RO pump open loop PWM. - // ********** private function prototypes ********** static RO_PUMP_STATE_T handleROPumpOffState( void ); @@ -203,8 +202,6 @@ setFluidPumpPctToPWMDutyCycle( P12_PUMP, roPumpDutyCyclePctSet ); state = RO_PUMP_CONTROL_TO_TARGET_PRESSURE_STATE; } - - // If the target duty cycle is greater than zero (minimum is 10%) and the mode has been set to open // loop, set the duty cycle else if ( roPumpOpenLoopTargetDutyCycle.data > 0.0F ) @@ -284,7 +281,6 @@ setFluidPumpPctToPWMDutyCycle( P12_PUMP, roPumpDutyCyclePctSet ); state = RO_PUMP_OPEN_LOOP_STATE; } - // Control at set interval or shut off // else if ( (F32)getTargetROPumpFlowRateMLPM() == 0.0F ) // { @@ -329,7 +325,6 @@ roPumpDutyCyclePctSet = getTargetROPumpDutyCyclePCT(); state = RO_PUMP_OPEN_LOOP_STATE; } - // Control at set interval or shut off // else if ( getTargetROPumpPressure() == 0.0F ) // { @@ -472,7 +467,6 @@ stopPumpRequest = TRUE; } } - // Requested flow rate is out of range else {