Index: firmware/App/Modes/ModeFlush.c =================================================================== diff -u -r7d4711edd7b40cd3e29f43e766f79a8a09586fe9 -r7f45e52be52e11e33178e6a0eb86c67806e6921e --- firmware/App/Modes/ModeFlush.c (.../ModeFlush.c) (revision 7d4711edd7b40cd3e29f43e766f79a8a09586fe9) +++ firmware/App/Modes/ModeFlush.c (.../ModeFlush.c) (revision 7f45e52be52e11e33178e6a0eb86c67806e6921e) @@ -34,7 +34,6 @@ #include "SystemCommMessages.h" #include "TaskGeneral.h" #include "Timers.h" -#include "UVReactors.h" #include "Valves.h" /** @@ -424,7 +423,6 @@ setValveState( VPD, VALVE_STATE_DRAIN_C_TO_NO ); setValveState( VRD2, VALVE_STATE_CLOSED ); setValveState( VPO, VALVE_STATE_NOFILL_C_TO_NO ); - turnOnUVReactor( INLET_UV_REACTOR ); state = DG_FLUSH_STATE_FLUSH_DRAIN; } @@ -439,10 +437,6 @@ setValveState( VDR, VALVE_STATE_DRAIN_C_TO_NO ); setROPumpTargetFlowRateLPM( FINAL_DRAIN_RO_PUMP_FLOW_LPM, RO_PUMP_MAX_PRESSURE_PSI ); - // Turn on the UV reactors - turnOnUVReactor( INLET_UV_REACTOR ); - turnOnUVReactor( OUTLET_UV_REACTOR ); - flushUIState = FLUSH_UI_STATE_FLUSH_RECIRCULATION_PATH; state = DG_FLUSH_STATE_FLUSH_CIRCULATION_DRAIN_LINE; } @@ -474,10 +468,6 @@ setValveState( VPD, VALVE_STATE_OPEN_C_TO_NC ); setROPumpTargetFlowRateLPM( RO_PUMP_TARGET_FLOW_RATE_LPM, RO_PUMP_MAX_PRESSURE_PSI ); - // Turn on the UV reactors - turnOnUVReactor( INLET_UV_REACTOR ); - turnOnUVReactor( OUTLET_UV_REACTOR ); - stateTimerStart = getMSTimerCount(); state = DG_FLUSH_STATE_FLUSH_DIALYSATE; } @@ -692,11 +682,6 @@ setValveState( VRO, VALVE_STATE_R1_C_TO_NO ); setDrainPumpTargetRPM( DRAIN_PUMP_TARGET_RPM ); - // Turn off the UV reactors prior to transitioning to drain states. - // In the drain states, there is not fluid flowing in the RO section so the reactors are turned off - turnOffUVReactor( INLET_UV_REACTOR ); - turnOffUVReactor( OUTLET_UV_REACTOR ); - // Close VPi and VPd to drain setValveState(VPI, VALVE_STATE_CLOSED); setValveState(VPD, VALVE_STATE_DRAIN_C_TO_NO);