Index: firmware/App/Modes/Prime.c =================================================================== diff -u -rbb81ef75054179b37eaa3750a631ad1c67692008 -r32f48aca25ae69089c2cf77936239cce6daac229 --- firmware/App/Modes/Prime.c (.../Prime.c) (revision bb81ef75054179b37eaa3750a631ad1c67692008) +++ firmware/App/Modes/Prime.c (.../Prime.c) (revision 32f48aca25ae69089c2cf77936239cce6daac229) @@ -516,7 +516,7 @@ { HD_PRE_TREATMENT_PRIME_STATE_T state = HD_PRIME_DIALYSATE_DIALYZER_STATE; - F32 const loadcellWeight = getReservoirWeightSmallFilter( DG_RESERVOIR_1 ); + F32 const loadcellWeight = getLoadCellWeightInGrams( LOAD_CELL_RESERVOIR_1_PRIMARY ); F32 const weightChange = fabs( 1.0 - ( previousLoadCellReading / loadcellWeight ) ); if ( weightChange < LOAD_CELL_VOLUME_NOISE_TOLERANCE ) @@ -583,7 +583,7 @@ static HD_PRE_TREATMENT_PRIME_STATE_T handlePrimeDialysateBypassState( void ) { HD_PRE_TREATMENT_PRIME_STATE_T state = HD_PRIME_DIALYSATE_BYPASS_STATE; - F32 const loadcellWeight = getReservoirWeightSmallFilter( DG_RESERVOIR_2 ); + F32 const loadcellWeight = getLoadCellWeightInGrams( LOAD_CELL_RESERVOIR_2_PRIMARY ); F32 const weightChange = fabs( 1.0 - ( previousLoadCellReading / loadcellWeight ) ); if ( weightChange < LOAD_CELL_VOLUME_NOISE_TOLERANCE )