Index: firmware/App/Modes/TreatmentStop.c =================================================================== diff -u -r19a8bf98a7154e24c35da25225d4b55bf70ddd09 -r9bf209fc5813b7e806f51f408ece77174a336c9b --- firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 19a8bf98a7154e24c35da25225d4b55bf70ddd09) +++ firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 9bf209fc5813b7e806f51f408ece77174a336c9b) @@ -143,6 +143,7 @@ static void setupForDialysateRecirculationState( void ) { // Re-circulate dialysate side of dialyzer w/ heating to maintain temperature + doorClosedRequired( TRUE, TRUE ); setDialInPumpTargetFlowRate( DIALYSATE_FLOW_RATE_FOR_RECIRC, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); cmdStartDGTrimmerHeater(); } @@ -158,6 +159,7 @@ *************************************************************************/ static void setupForBloodRecirculationState( void ) { + doorClosedRequired( TRUE, TRUE ); // Open VBA and VBV valves to patient for blood recirculation setValvePosition( VBA, VALVE_POSITION_B_OPEN ); setValvePosition( VBV, VALVE_POSITION_B_OPEN ); @@ -361,6 +363,8 @@ { TREATMENT_STOP_STATE_T result = TREATMENT_STOP_NO_RECIRC_STATE; + doorClosedRequired( FALSE, FALSE ); + handleTreatmentStopBloodSittingTimer(); result = handleTreatmentStopAlarmsAndSignals(result);