Index: firmware/App/Services/Reservoirs.c =================================================================== diff -u -rc68065fe2cfcfee46eae9d8a8af68b42b662661c -r07a39ac5f935a84b2dbb93e3f3d3b3eaa8f37cc4 --- firmware/App/Services/Reservoirs.c (.../Reservoirs.c) (revision c68065fe2cfcfee46eae9d8a8af68b42b662661c) +++ firmware/App/Services/Reservoirs.c (.../Reservoirs.c) (revision 07a39ac5f935a84b2dbb93e3f3d3b3eaa8f37cc4) @@ -192,17 +192,10 @@ // Calculate volume used from active reservoir - do not accumulate if not performing dialysis or saline bolus is in progress if ( ( TREATMENT_DIALYSIS_STATE == getTreatmentState() ) && ( getDialysisState() != DIALYSIS_SALINE_BOLUS_STATE ) ) { -#ifdef DIALYZER_REPRIME_ENABLED - if ( getDialysisState() != DIALYSIS_DIALYZER_REPRIME_STATE ) - { -#endif - volSpentML += ( flowRateMLPerMS * msSinceLastVolumeCalc ); - timeReservoirInUse++; - // Check the recirculation level - recirculationLevelPct = volSpentML / (F32)FILL_RESERVOIR_TO_VOLUME_ML; -#ifdef DIALYZER_REPRIME_ENABLED - } -#endif + volSpentML += ( flowRateMLPerMS * msSinceLastVolumeCalc ); + timeReservoirInUse++; + // Check the recirculation level + recirculationLevelPct = volSpentML / (F32)FILL_RESERVOIR_TO_VOLUME_ML; } // Update the reservoir start time