Index: firmware/App/Modes/ModeFill.c =================================================================== diff -u -rb1b5e8659de8f6109c4d77cda98308d1fd9ef165 -re6dc73b45ec3d0df4c9a03673625862b71acd608 --- firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision b1b5e8659de8f6109c4d77cda98308d1fd9ef165) +++ firmware/App/Modes/ModeFill.c (.../ModeFill.c) (revision e6dc73b45ec3d0df4c9a03673625862b71acd608) @@ -384,7 +384,9 @@ if ( integratedVolumeToLoadCellReadingPercent > FLOW_INTEGRATED_VOLUME_CHECK_TOLERANCE ) { +#ifndef DISABLE_MIXING SET_ALARM_WITH_2_F32_DATA( ALARM_ID_DG_FLOW_METER_CHECK_FAILURE, filledVolume_mL, integratedVolume_mL ); +#endif } requestNewOperationMode( DG_MODE_CIRC ); @@ -403,13 +405,15 @@ *************************************************************************/ static void handleDialysateMixing( void ) { +#ifndef DISABLE_MIXING // Set concentrate pumps speed based off RO pump flow rate F32 const measuredROFlowRate = getMeasuredROFlowRate(); F32 const acidCP1PumpFlowRate = DIALYSATE_ACID_CONCENTRATE_RATIO * measuredROFlowRate * ML_PER_LITER; F32 const bicarbCP2PumpFlowRate = DIALYSATE_BICARB_CONCENTRATE_RATIO * measuredROFlowRate * ML_PER_LITER; setConcentratePumpTargetSpeed( CONCENTRATEPUMPS_CP1_ACID, acidCP1PumpFlowRate ); setConcentratePumpTargetSpeed( CONCENTRATEPUMPS_CP2_BICARB, bicarbCP2PumpFlowRate ); +#endif } /**@}*/