Index: firmware/App/Modes/ModeFill.c =================================================================== diff -u -r595c1cef4ae603e74d003a6abf7d71168fb0e66d -rb8ce96efa5d03ef863ca828c4491327e7a467f17 --- firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision 595c1cef4ae603e74d003a6abf7d71168fb0e66d) +++ firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision b8ce96efa5d03ef863ca828c4491327e7a467f17) @@ -163,7 +163,6 @@ static BOOL isWaterQualityGood( void ); static void checkDialysateTemperatureSensorsDrift( void ); -static BOOL checkDialysateTemperature( void ); static void handleDialysateMixing( F32 measuredROFlowRate_mL_min ); static void setFillInfoToRTCRAM( void ); static BOOL isValueWithinPercentRange( F32 testValue, F32 baseValue, F32 percentFactor ); @@ -663,7 +662,7 @@ F32 measuredROFlowRateMLPM = getMeasuredROFlowRateLPM() * ML_PER_LITER; #ifndef DISABLE_DIALYSATE_CHECK - if ( ( TRUE == isWaterQualityGood() ) && ( TRUE == checkDialysateTemperature() ) ) // SRSDG 216 + if ( TRUE == isWaterQualityGood() ) // SRSDG 216 #else if ( TRUE ) #endif @@ -726,7 +725,7 @@ fillStatus.fillTemperatureRunningSum += getTemperatureValue( (U32)TEMPSENSORS_OUTLET_PRIMARY_HEATER ); #ifndef DISABLE_DIALYSATE_CHECK - if ( ( isWaterQualityGood() != TRUE ) || ( checkDialysateTemperature() != TRUE ) ) // SRSDG 240 , SRSDG 397 + if ( ( isWaterQualityGood() != TRUE ) ) // SRSDG 240 , SRSDG 397 { requestConcentratePumpOff( CONCENTRATEPUMPS_CP1_ACID ); requestConcentratePumpOff( CONCENTRATEPUMPS_CP2_BICARB ); @@ -882,22 +881,6 @@ /*********************************************************************//** * @brief - * The checkDialysateTemperature function checks dialysate temperature after - * it gets heated up by primary heater. - * @details Inputs: TPo temperature value - * @details Outputs: None - * @return TRUE if dialysate temperature is in range, otherwise FALSE - *************************************************************************/ -static BOOL checkDialysateTemperature( void ) -{ - F32 dialysateTemp = getTemperatureValue( TEMPSENSORS_OUTLET_PRIMARY_HEATER ); - F32 targetTemp = getHeaterTargetTemperature( DG_PRIMARY_HEATER ); - - return ( ( fabs( dialysateTemp - targetTemp ) <= DIALYSATE_TEMPERATURE_TOLERANCE_C ) ? TRUE : FALSE ); -} - -/*********************************************************************//** - * @brief * The isValueWithinPercentRange function validates if the test value * is within the percentage range specified by the baseValue and * percentFactor.