Index: firmware/App/Monitors/Pressures.c =================================================================== diff -u -rf6aa1ffddb85a233371e3e7e4d7c0c0eb3e61493 -r036a75d76ab01912646a480b935d97187a231a19 --- firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision f6aa1ffddb85a233371e3e7e4d7c0c0eb3e61493) +++ firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision 036a75d76ab01912646a480b935d97187a231a19) @@ -590,7 +590,7 @@ { currPresLimitsState = PRESSURE_LIMITS_STATE_IDLE; } - else if ( ( TREATMENT_DIALYSIS_STATE == currTxState ) || ( TREATMENT_STOP_STATE == currTxState ) ) + else if ( ( TREATMENT_DIALYSIS_STATE == currTxState ) || ( TREATMENT_PAUSED_STATE == currTxState ) ) { stabilizationStartTimeMs = getMSTimerCount(); pressureStabilizeTime = USE_NORMAL_STABILIZATION_PERIOD; @@ -618,7 +618,7 @@ { currPresLimitsState = PRESSURE_LIMITS_STATE_IDLE; } - else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_STOP_STATE ) ) + else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_PAUSED_STATE ) ) { currPresLimitsState = PRESSURE_LIMITS_STATE_WIDE; } @@ -648,7 +648,7 @@ { currPresLimitsState = PRESSURE_LIMITS_STATE_IDLE; } - else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_STOP_STATE ) ) + else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_PAUSED_STATE ) ) { currPresLimitsState = PRESSURE_LIMITS_STATE_WIDE; } @@ -668,7 +668,7 @@ { currPresLimitsState = PRESSURE_LIMITS_STATE_IDLE; } - else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_STOP_STATE ) ) + else if ( ( currTxState != TREATMENT_DIALYSIS_STATE ) && ( currTxState != TREATMENT_PAUSED_STATE ) ) { currPresLimitsState = PRESSURE_LIMITS_STATE_WIDE; }