Index: firmware/App/Modes/ModeTreatment.c =================================================================== diff -u -rea91805fa5ea8b23cfcaa0ee2493339e57fe7fc7 -rd27dcf1fbbc9651636f211028917a1c0702bb56a --- firmware/App/Modes/ModeTreatment.c (.../ModeTreatment.c) (revision ea91805fa5ea8b23cfcaa0ee2493339e57fe7fc7) +++ firmware/App/Modes/ModeTreatment.c (.../ModeTreatment.c) (revision d27dcf1fbbc9651636f211028917a1c0702bb56a) @@ -1006,7 +1006,7 @@ U32 dialVolume = dialRate * ( (U32)( (F32)presTreatmentTimeSecs / (F32)SEC_PER_MIN ) + 1 ); // In mL // Validate new rates - if ( ( bloodRate >= MIN_BLOOD_FLOW_RATE ) && ( bloodRate <= MAX_BLOOD_FLOW_RATE ) && + if ( ( bloodRate >= MIN_SET_BLOOD_FLOW_RATE ) && ( bloodRate <= MAX_SET_BLOOD_FLOW_RATE ) && ( dialRate >= MIN_DIAL_IN_FLOW_RATE ) && ( dialRate <= MAX_DIAL_IN_FLOW_RATE ) && ( dialVolume <= MAX_DIALYSATE_VOLUME_ML ) ) { @@ -1018,7 +1018,7 @@ } else { - if ( ( bloodRate < MIN_BLOOD_FLOW_RATE ) || ( bloodRate > MAX_BLOOD_FLOW_RATE ) ) + if ( ( bloodRate < MIN_SET_BLOOD_FLOW_RATE ) || ( bloodRate > MAX_SET_BLOOD_FLOW_RATE ) ) { rejectReason = REQUEST_REJECT_REASON_BLOOD_FLOW_OUT_OF_RANGE; }