Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r515a40fb83e3fc13384dae12dba25b45aeeea904 -rc7e52b747bfff771037094ac6419141d901e179a --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 515a40fb83e3fc13384dae12dba25b45aeeea904) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision c7e52b747bfff771037094ac6419141d901e179a) @@ -142,7 +142,7 @@ F32 flowRateMlPerMs = (F32)getTargetDialInFlowRate() / (F32)( MS_PER_SECOND * SEC_PER_MIN ); // calculate volume used from active reservoir - do not accumulate if saline bolus in progress - if ( SALINE_BOLUS_STATE_IN_PROGRESS == getSalineBolusState() ) + if ( SALINE_BOLUS_STATE_IN_PROGRESS != getSalineBolusState() ) { resUseVolumeMl += ( flowRateMlPerMs * msSinceLastVolumeCalc ); // TODO - should this calc be done and kept by Dialysis sub-mode? }