Index: firmware/App/Modes/TreatmentStop.c =================================================================== diff -u -r8e1228bfe377a61aa0c2bc9df0f0abc4b4d4ab71 -r085476747d1b466802f94f5926fc53a8ec463ec5 --- firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 8e1228bfe377a61aa0c2bc9df0f0abc4b4d4ab71) +++ firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 085476747d1b466802f94f5926fc53a8ec463ec5) @@ -17,6 +17,7 @@ #include "AirTrap.h" #include "BloodFlow.h" +#include "BloodLeak.h" #include "DGInterface.h" #include "DialInFlow.h" #include "DialOutFlow.h" @@ -97,6 +98,7 @@ { setAlarmUserActionEnabled( ALARM_USER_ACTION_RINSEBACK, TRUE ); } + setAlarmUserActionEnabled( ALARM_USER_ACTION_END_TREATMENT, TRUE ); setupForBloodRecirculationState(); @@ -106,6 +108,9 @@ // Reset saline bolus state in case alarm interrupted one resetSalineBolus(); + // Exit blood leak normal state so there will no blood detection alarm + exitBloodLeakNormalState(); + // Should always have an alarm active in treatment stop sub-mode so that user can take action if ( FALSE == isAnyAlarmActive() ) {