Index: firmware/App/Controllers/ConcentratePumps.c =================================================================== diff -u -rcaa15db89a49c98671f0a87dc2242d0fc7f683b7 -r5bc763948140d98515c3b47483ea4f8895a9562d --- firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision caa15db89a49c98671f0a87dc2242d0fc7f683b7) +++ firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision 5bc763948140d98515c3b47483ea4f8895a9562d) @@ -1067,7 +1067,7 @@ if ( concentratePumps[ pumpId ].currentPumpSpeed > NEARLY_ZERO ) { F32 timePerStep; - F32 stepPeriodCounts = timePerStep / ( CONCENTRATE_PUMP_STEP_PERIOD_RESOLUTION * CONCENTRATE_PUMP_MICRO_STEPS_PER_STEP ); + F32 stepPeriodCounts; if ( TRUE == getTestConfigStatus( TEST_CONFIG_DIENER_CONC_PUMP ) ) { @@ -1077,7 +1077,7 @@ { timePerStep = CONCENTRATE_PUMP_VOLUME_PER_REV / ( concentratePumps[ pumpId ].currentPumpSpeed * CONCENTRATE_PUMP_STEP_PER_REV ); } - + stepPeriodCounts = timePerStep / ( CONCENTRATE_PUMP_STEP_PERIOD_RESOLUTION * CONCENTRATE_PUMP_MICRO_STEPS_PER_STEP ); concentratePumps[ pumpId ].togglePeriodCount = (U16)( stepPeriodCounts + FLOAT_TO_INT_ROUNDUP_OFFSET ); } else