Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r47a7da55aea88cd7a2b06870226122d0cc8be540 -ra60ec05d359c0d3f014015e9080b6dbcef0fea28 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 47a7da55aea88cd7a2b06870226122d0cc8be540) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision a60ec05d359c0d3f014015e9080b6dbcef0fea28) @@ -112,7 +112,7 @@ DG_OP_MODE_T dgOpMode = getDGOpMode(); U32 dgSubMode = getDGSubMode(); U32 msSinceLastVolumeCalc = calcTimeSince( resUseTimer ); - F32 flowRateMlPerMs = getMeasuredDialInFlowRate() / (F32)( MS_PER_SECOND * SEC_PER_MIN ); + F32 flowRateMlPerMs = (F32)getTargetDialInFlowRate() / (F32)( MS_PER_SECOND * SEC_PER_MIN ); // calculate volume used from active reservoir resUseVolumeMl += ( flowRateMlPerMs * msSinceLastVolumeCalc ); // TODO - should this calc be done and kept by Dialysis sub-mode?