Index: firmware/App/Modes/Dialysis.c =================================================================== diff -u -r6a414654391c1729525d55812abbf111ddef7d6a -r78c03fb021407eaf8d17dd0f74f6969443b397ce --- firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 6a414654391c1729525d55812abbf111ddef7d6a) +++ firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 78c03fb021407eaf8d17dd0f74f6969443b397ce) @@ -243,7 +243,7 @@ setValvePosition( VDO, VALVE_POSITION_B_OPEN ); setValvePosition( VBA, VALVE_POSITION_B_OPEN ); setValvePosition( VBV, VALVE_POSITION_B_OPEN ); - // restart pumps + // Restart pumps #ifndef RUN_PUMPS_OPEN_LOOP setBloodPumpTargetFlowRate( setBloodFlowRate, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); setDialInPumpTargetFlowRate( setDialysateFlowRate, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); @@ -483,7 +483,7 @@ result = TRUE; // set outlet pump to dialysate rate + set UF rate setDialOutPumpTargetRate( setDialysateFlowRate + FLOAT_TO_INT_WITH_ROUND( setUFRate ), MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); - // restart UF time accumulation for reference volume calculation + // Restart UF time accumulation for reference volume calculation lastUFTimeStamp = getMSTimerCount(); // go to UF paused state currentUFState = UF_RUNNING_STATE; @@ -698,9 +698,9 @@ salineBolusAutoResumeUF = FALSE; // set outlet pump to dialysate rate + set UF rate setDialOutPumpTargetRate( setDialysateFlowRate + FLOAT_TO_INT_WITH_ROUND( setUFRate ), MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_CLOSED_LOOP ); - // restart UF time accumulation for reference volume calculation + // Restart UF time accumulation for reference volume calculation lastUFTimeStamp = getMSTimerCount(); - // resume UF + // Resume UF result = UF_RUNNING_STATE; } @@ -876,7 +876,7 @@ if ( ( FALSE == isBloodPumpRunning() ) && ( FALSE == isDialInPumpRunning() ) && ( FALSE == isDialOutPumpRunning() ) ) { - // reset bolus data before we start + // Reset bolus data before we start bolusSalineVolumeDelivered = 0.0; bolusSalineVolumeDelivered_Safety = 0.0; bolusSalineMotorCount = 0; @@ -996,12 +996,12 @@ // end dialyzer bypass and resume dialysis if no alarms triggered if ( FALSE == errorFound ) { - // resume UF if appropriate + // Resume UF if appropriate if ( TRUE == salineBolusAutoResumeUF ) { currentUFState = UF_RUNNING_STATE; } - // resume dialysis + // Resume dialysis startDialysis(); } } @@ -1076,7 +1076,7 @@ { if ( ++uFAccuracyCheckTimerCtr >= UF_ACCURACY_CHECK_INTERVAL ) { - // reset for next check interval + // Reset for next check interval lastUFVolumeChecked = measUFVolume; uFAccuracyCheckTimerCtr = 0; }