Index: firmware/App/Modes/ModeGenIdle.c =================================================================== diff -u -r73d351b8b976805d73bdceb8c6c1860f9644b607 -rab7dfc361e5ee347141842b317f1fc2f16e4e3f3 --- firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision 73d351b8b976805d73bdceb8c6c1860f9644b607) +++ firmware/App/Modes/ModeGenIdle.c (.../ModeGenIdle.c) (revision ab7dfc361e5ee347141842b317f1fc2f16e4e3f3) @@ -108,9 +108,11 @@ // NOTE: The target flow rate should be set prior to setting the start primary heater // because the initial guess in the heaters driver needs the target flow to calculate // the new PWMs for the main and small primary heaters +#ifndef DISABLE_FLOW_CONTROL_TREATMENT setROPumpTargetFlowRate( TARGET_FLUSH_LINES_RO_FLOW_RATE_L, TARGET_RO_PRESSURE_PSI ); - + setHeaterTargetTemperature( DG_PRIMARY_HEATER, 39.0 ); // TODO remove this line. It comes form HD this for testing only startHeater( DG_PRIMARY_HEATER ); +#endif } /*********************************************************************//** @@ -214,7 +216,9 @@ // When enough water volume has flowed to flush the lines, transition to flush water state if ( flushLinesVolumeL >= getFlushLineVolume() ) { +#ifndef DISABLE_FLOW_CONTROL_TREATMENT setROPumpTargetFlowRate( TARGET_RO_FLOW_RATE_L, TARGET_RO_PRESSURE_PSI ); +#endif result = DG_GEN_IDLE_MODE_STATE_FLUSH_WATER; }