Index: firmware/App/Controllers/ConcentratePumps.c =================================================================== diff -u -rd2fb916f924e8d988cb62b1e3a16aad2d923f7e7 -re12eefac42a3806a34f3ddac6df30bbb5ca51f6f --- firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision d2fb916f924e8d988cb62b1e3a16aad2d923f7e7) +++ firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision e12eefac42a3806a34f3ddac6df30bbb5ca51f6f) @@ -896,6 +896,7 @@ static CONCENTRATE_PUMP_STATE_T handleConcentratePumpRampToTargetSpeedState( CONCENTRATE_PUMPS_T pumpId ) { CONCENTRATE_PUMP_STATE_T state = CONCENTRATE_PUMP_RAMP_TO_TARGET_SPEED_STATE; + //U16 currentMeasuredRev = getConcPumpCurrentMeasuredRevolutionCount( pumpId ); if ( TRUE == stepConcentratePumpToTargetSpeed( pumpId ) ) { @@ -926,6 +927,7 @@ static CONCENTRATE_PUMP_STATE_T handleConcentratePumpControlTargetSpeedState( CONCENTRATE_PUMPS_T pumpId ) { CONCENTRATE_PUMP_STATE_T state = CONCENTRATE_PUMP_CONTROL_TARGET_SPEED_STATE; + //U16 currentMeasuredRev = getConcPumpCurrentMeasuredRevolutionCount( pumpId ); F32 targetToCurreSpeedDiffMLPM = fabs( getPumpTargetSpeed( pumpId ) - concentratePumps[ pumpId ].currentPumpSpeed ); if ( ++concentratePumps[ pumpId ].controlTimerCounter >= CONCENTRATE_PUMP_CONTROL_INTERVAL )