Index: firmware/App/Modes/TreatmentEnd.c =================================================================== diff -u -r9ee7c24686170b9d7f4cb867622eac159351a7d7 -r7699295b252cc8be12489b175f8c3a6ec8d26f86 --- firmware/App/Modes/TreatmentEnd.c (.../TreatmentEnd.c) (revision 9ee7c24686170b9d7f4cb867622eac159351a7d7) +++ firmware/App/Modes/TreatmentEnd.c (.../TreatmentEnd.c) (revision 7699295b252cc8be12489b175f8c3a6ec8d26f86) @@ -36,6 +36,8 @@ /// Interval at which treatment end progress is to be published to UI. #define TREATMENT_END_DATA_PUBLISH_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) +/// Target flow rate for blood while waiting for user to initiate final rinseback. +#define TX_END_BP_FLOW_RATE_ML_MIN 150 /// Max time to wait for user to initiate final rinseback. static const U32 TX_END_TIMEOUT_MS = ( ( 10 * 60 * MS_PER_SECOND ) / TASK_GENERAL_INTERVAL ); @@ -147,7 +149,7 @@ setValvePosition( VBA, VALVE_POSITION_B_OPEN ); setValvePosition( VBV, VALVE_POSITION_B_OPEN ); // Start blood pump at Tx End slow flow rate - setBloodPumpTargetFlowRate( getTreatmentParameterU32( TREATMENT_PARAM_BLOOD_FLOW ), MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); + setBloodPumpTargetFlowRate( TX_END_BP_FLOW_RATE_ML_MIN, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); bloodSittingTimerCtr = 0; // Continue air trap leveling control startAirTrapControl();