Index: firmware/App/Modes/TreatmentStop.c =================================================================== diff -u -r435a9dbdf79efb70fdb78b7a7bbd608d8522ef4f -r6624b2257367f346202eeca3024ef2aae44e4c96 --- firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 435a9dbdf79efb70fdb78b7a7bbd608d8522ef4f) +++ firmware/App/Modes/TreatmentStop.c (.../TreatmentStop.c) (revision 6624b2257367f346202eeca3024ef2aae44e4c96) @@ -7,8 +7,8 @@ * * @file TreatmentStop.c * -* @author (last) Michael Garthwaite -* @date (last) 16-May-2023 +* @author (last) Sean Nash +* @date (last) 12-Jun-2023 * * @author (original) Sean * @date (original) 15-Jan-2020 @@ -109,6 +109,8 @@ setupForDialysateRecirculationState(); + signalUserRateChange(); // so pressure limits re-stabilize + // Reset saline bolus state in case alarm interrupted one resetSalineBolus(); @@ -232,7 +234,6 @@ { TREATMENT_STOP_STATE_T priorSubState = currentTxStopState; - // Execute treatment stop sub-mode state machine switch ( currentTxStopState ) { case TREATMENT_STOP_RECIRC_STATE: @@ -451,7 +452,9 @@ data.timeout = 0; data.countdown = 0; - if ( ( getRinsebackCompleted() != TRUE ) && ( isAlarmActive( ALARM_ID_HD_TREATMENT_RINSEBACK_TIMEOUT_ALARM ) != TRUE ) ) + if ( ( getRinsebackCompleted() != TRUE ) && + ( isAlarmActive( ALARM_ID_HD_TREATMENT_RINSEBACK_TIMEOUT_ALARM ) != TRUE ) && + ( isAlarmActive( ALARM_ID_HD_TREATMENT_STOPPED_NO_RINSEBACK ) != TRUE ) ) { if ( bloodSittingTimerCtr > 0 ) {