Index: firmware/App/Modes/ModePreTreat.c =================================================================== diff -u -rf4e66733b41e6875496761c969fa9e87874c21d3 -r72186ef257b97cd1af2618bf5805673695e6748d --- firmware/App/Modes/ModePreTreat.c (.../ModePreTreat.c) (revision f4e66733b41e6875496761c969fa9e87874c21d3) +++ firmware/App/Modes/ModePreTreat.c (.../ModePreTreat.c) (revision 72186ef257b97cd1af2618bf5805673695e6748d) @@ -46,10 +46,11 @@ /// TODO: Restore to 100 when DPi flow control is fixed. #define DIP_PATIENT_CONNECTION_FLOW_RATE_ML_MIN 250 ///< Patient connection sub-mode dialysate inlet pump flow rate in mL/min. -#define PRE_TREATMENT_MIN_RESERVOIR_VOLUME_ML 125 ///< Fill reservoir to this volume minimum to prep volume during development. +#define PRE_TREATMENT_MIN_RESERVOIR_VOLUME_ML 250 ///< Fill reservoir to this volume minimum to prep volume during development. #define PRE_TREATMENT_FLUSH_RESERVOIR_VOLUME_ML 500 ///< Fill reservoir to this volume (in mL) to flush filter and lines. #define PRE_TREATMENT_FILL_RESERVOIR_ONE_VOLUME_ML 900 ///< Fill reservoir one to this volume (in mL) during pre-treatment mode. #define PRE_TREATMENT_FILL_RESERVOIR_TWO_VOLUME_ML 1100 ///< Fill reservoir two to this volume (in mL) during pre-treatment mode. +#define PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML 1500 ///< Fill reservoir to this volume minimum to prep volume during development. /// States of the pre-treatment reservoir management state machine. typedef enum PreTreatmentReservoirMgmt_States @@ -1173,7 +1174,7 @@ if ( FALSE == reservoirFlushedStatus[ DG_RESERVOIR_1 ] ) { #ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_PRIMING ) ) + if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_FILL_AND_FLUSH ) ) { reservoirFilledStatus[ DG_RESERVOIR_1 ] = TRUE; } @@ -1276,7 +1277,7 @@ *************************************************************************/ static U32 getPreTreatmentFillVolume( DG_RESERVOIR_ID_T inactiveRes ) { - U32 volume = 0; + U32 volume = PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML; // Fill volumes after flushing if ( TRUE == reservoirFlushedStatus[ inactiveRes ] ) @@ -1286,7 +1287,7 @@ #ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_FILL_AND_FLUSH ) ) { - volume = PRE_TREATMENT_MIN_RESERVOIR_VOLUME_ML; + volume = PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML; } else @@ -1301,7 +1302,7 @@ #ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_FILL_AND_FLUSH ) ) { - volume = PRE_TREATMENT_MIN_RESERVOIR_VOLUME_ML; + volume = PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML; } else #endif @@ -1316,7 +1317,7 @@ #ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_FILL_AND_FLUSH ) ) { - volume = PRE_TREATMENT_MIN_RESERVOIR_VOLUME_ML; + volume = PRE_TREATMENT_FULL_RESERVOIR_VOLUME_ML; } else #endif