Index: firmware/App/Modes/StateTxBloodPrime.c =================================================================== diff -u -r9c833ef5623ce842267e284d958820ac0dc3a7fc -r069dee3a2428d3c6bb281db1844a372ae6e2063a --- firmware/App/Modes/StateTxBloodPrime.c (.../StateTxBloodPrime.c) (revision 9c833ef5623ce842267e284d958820ac0dc3a7fc) +++ firmware/App/Modes/StateTxBloodPrime.c (.../StateTxBloodPrime.c) (revision 069dee3a2428d3c6bb281db1844a372ae6e2063a) @@ -7,8 +7,8 @@ * * @file StateTxBloodPrime.c * -* @author (last) Praneeth Bunne -* @date (last) 03-Jun-2026 +* @author (last) Sean Nash +* @date (last) 01-Jul-2026 * * @author (original) Varshini Nagabooshanam * @date (original) 09-Jan-2026 @@ -123,7 +123,7 @@ cumulativeBloodPrimeVolume_mL.data = 0.0; resetBloodPrimeFlags(); - bloodPrimeTargetVolume_mL = TUBING_BLOOD_PRIME_VOLUME_ML + (F32)( getDialyzerBloodVolume( getTreatmentParameterU32( TREATMENT_PARAM_DIALYZER_TYPE ) ) ); + bloodPrimeTargetVolume_mL = (F32)TUBING_BLOOD_PRIME_VOLUME_ML + (F32)( getDialyzerBloodVolume( (DIALYZER_TYPE_T)getTreatmentParameterU32( TREATMENT_PARAM_DIALYZER_TYPE ) ) ); bloodPrimeRampFlowRate_mL_min = (F32)BLOOD_PRIME_INIT_BP_FLOW_RATE_ML_MIN; // Calculate BP ramp step size