Index: firmware/App/Modes/PreTreatmentRecirc.c =================================================================== diff -u -r3d72b777cf1ceb673d118341c46e2d6d5b7b75f5 -r9bf209fc5813b7e806f51f408ece77174a336c9b --- firmware/App/Modes/PreTreatmentRecirc.c (.../PreTreatmentRecirc.c) (revision 3d72b777cf1ceb673d118341c46e2d6d5b7b75f5) +++ firmware/App/Modes/PreTreatmentRecirc.c (.../PreTreatmentRecirc.c) (revision 9bf209fc5813b7e806f51f408ece77174a336c9b) @@ -21,6 +21,7 @@ #include "BloodFlow.h" #include "DGInterface.h" #include "PreTreatmentRecirc.h" +#include "Switches.h" #include "Valves.h" /** @@ -30,8 +31,8 @@ // ********** private definitions ********** -#define BLOOD_PUMP_RECIRC_FLOW_RATE 100 ///< Blood pump flow rate during recirculation in mL/min. -#define DIALYSATE_PUMP_RECIRC_FLOW_RATE 100 ///< Dialysate pump flow rate during recirculation in mL/min. +#define BLOOD_PUMP_RECIRC_FLOW_RATE 100 ///< Blood pump flow rate during recirculation in mL/min. +#define DIALYSATE_PUMP_RECIRC_FLOW_RATE 100 ///< Dialysate pump flow rate during recirculation in mL/min. // ********** private data ********** @@ -152,6 +153,8 @@ *************************************************************************/ static void setupPreTreatmentRecirculate( void ) { + doorClosedRequired( TRUE, TRUE ); + setValvePosition( VDI, VALVE_POSITION_C_CLOSE ); setValvePosition( VDO, VALVE_POSITION_C_CLOSE ); setValvePosition( VBA, VALVE_POSITION_B_OPEN );