Index: firmware/App/Services/Reservoirs.c =================================================================== diff -u -re2a7289fade72dfc5426629eeb288395d894b3ec -r9aa7ae70106b8c96224cb541d24125215d85237e --- firmware/App/Services/Reservoirs.c (.../Reservoirs.c) (revision e2a7289fade72dfc5426629eeb288395d894b3ec) +++ firmware/App/Services/Reservoirs.c (.../Reservoirs.c) (revision 9aa7ae70106b8c96224cb541d24125215d85237e) @@ -318,7 +318,7 @@ F32 totalTargetFillFlow = targetFillFlowRate + ( targetFillFlowRate * ratios.acidMixingRatio ) + ( targetFillFlowRate * ratios.bicarbMixingRatio ); // Time fill = Fill volume / Qfill. Qfill is converted from L/min to mL/min and the time is converted from minutes to milliseconds - U32 timeFillMS = ( getTargetFillVolumeBasedOnDialysateFlowML() / ( ML_PER_LITER * totalTargetFillFlow ) ) * SEC_PER_MIN * MS_PER_SECOND; + U32 timeFillMS = ( prevTargetFillVolumeML / ( ML_PER_LITER * totalTargetFillFlow ) ) * SEC_PER_MIN * MS_PER_SECOND; // Add the prepare time in the DG mode fill to the calculated fill time in milliseconds U32 timeTotalFillMS = timeFillMS + ratios.timeFillPrepMS;