Index: firmware/App/Controllers/ConcentratePumps.c =================================================================== diff -u -r846d04b392ffb11d26e5f8376734e1d5335b140e -rea094ccc41536e9d6436397f68499b9b97e9ec92 --- firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision 846d04b392ffb11d26e5f8376734e1d5335b140e) +++ firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision ea094ccc41536e9d6436397f68499b9b97e9ec92) @@ -1039,7 +1039,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 ) ) { @@ -1049,7 +1049,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