Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -rf760ffc4b10556e5186e9ceb90294262063440ca -rded084860cbbde7fc763859c7c0991f13d77c8f9 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision f760ffc4b10556e5186e9ceb90294262063440ca) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision ded084860cbbde7fc763859c7c0991f13d77c8f9) @@ -1688,17 +1688,15 @@ { BOOL result = FALSE; F32 targetRate = DOP_ML_PER_MIN_FROM_PWM( value ); + MOTOR_DIR_T dir = ( value < 0.0F ? MOTOR_DIR_REVERSE : MOTOR_DIR_FORWARD ); - if ( TRUE == isTestingActivated() ) + // currently conversion can create negative values with values <= 10%. *** Function used in dialyzer re-prime, so no Dialin login required *** + if ( targetRate < 0 ) { - // currently conversion can create negative values with values <= 10%. - if ( targetRate < 0 ) - { - targetRate = 0; - } - setDialOutPumpTargetRate( (U32)targetRate, MOTOR_DIR_FORWARD, PUMP_CONTROL_MODE_OPEN_LOOP ); - result = TRUE; + targetRate = 0; } + setDialOutPumpTargetRate( (U32)targetRate, dir, PUMP_CONTROL_MODE_OPEN_LOOP ); + result = TRUE; return result; }