Index: firmware/App/Modes/TreatmentEnd.c =================================================================== diff -u -rf3d625e2593ced120c4a98b9ed7e28b132445642 -r0bb3fe3f34c02bd19c36aff2b98876e46a2ad177 --- firmware/App/Modes/TreatmentEnd.c (.../TreatmentEnd.c) (revision f3d625e2593ced120c4a98b9ed7e28b132445642) +++ firmware/App/Modes/TreatmentEnd.c (.../TreatmentEnd.c) (revision 0bb3fe3f34c02bd19c36aff2b98876e46a2ad177) @@ -279,10 +279,11 @@ setBloodPumpTargetFlowRate( AIR_TRAP_FILL_BLOOD_FLOW_RATE, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); } } - // re-open VBV after air trap fill + // re-open VBV and restore BP rate after air trap fill else if ( VALVE_POSITION_C_CLOSE == getSetValvePosition( VBV ) ) { setValvePosition( VBV, VALVE_POSITION_B_OPEN ); + setBloodPumpTargetFlowRate( TX_END_BP_FLOW_RATE_ML_MIN, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); } return result;