Index: firmware/App/Modes/Dialysis.c =================================================================== diff -u -r2a3a47ca90ad19851a30c52f6999a56d5f578783 -re5006f5263e8540e730dd802016fef5973ecea4c --- firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 2a3a47ca90ad19851a30c52f6999a56d5f578783) +++ firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision e5006f5263e8540e730dd802016fef5973ecea4c) @@ -248,22 +248,13 @@ // Do not run syringe pump if no Heparin included in prescription or it was paused or if Heparin should be stopped at this stage of treatment if ( ( minRem > (F32)preStop ) && ( HEPARIN_STATE_STOPPED == currentHeparinState ) ) { - // If not done with bolus, start/resume bolus - if ( ( bolusVol > 0.0 ) && ( getSyringePumpVolumeDelivered() < bolusVol ) ) + if ( hepRate > 0.0 ) { - startHeparinBolus(); // TODO - check return status or have function trigger alarm if not successful + startHeparinContinuous(); // TODO - check return status } - // Otherwise, start/resume continuous delivery else { - if ( hepRate > 0.0 ) - { - startHeparinContinuous(); // TODO - check return status - } - else - { - setHeparinCompleted(); - } + setHeparinCompleted(); } } else