Index: firmware/App/Modes/Dialysis.c =================================================================== diff -u -r515a40fb83e3fc13384dae12dba25b45aeeea904 -rbd4cfd6101ef41d898e36aed764fd15f01ec7255 --- firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 515a40fb83e3fc13384dae12dba25b45aeeea904) +++ firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision bd4cfd6101ef41d898e36aed764fd15f01ec7255) @@ -240,6 +240,11 @@ // send dialysate outlet pump latest UF volumes setDialOutUFVolumes( refUFVolume, measUFVolume ); + // set valves for dialysis + setValvePosition( VDI, VALVE_POSITION_B_OPEN ); + setValvePosition( VDO, VALVE_POSITION_B_OPEN ); + setValvePosition( VBA, VALVE_POSITION_B_OPEN ); + setValvePosition( VBV, VALVE_POSITION_B_OPEN ); // restart pumps #ifndef RUN_PUMPS_OPEN_LOOP setBloodPumpTargetFlowRate( setBloodFlowRate, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP );