Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r0f7e24faee00439d8d212de3bda6f94dcca40855 -r6eb873c4bc96fb22e85ac23aeee1c37e5366d731 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 0f7e24faee00439d8d212de3bda6f94dcca40855) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 6eb873c4bc96fb22e85ac23aeee1c37e5366d731) @@ -831,14 +831,22 @@ if ( DIAL_OUT_PUMP_CONTROL_TO_TARGET_STATE == dialOutPumpState ) { - // check set direction vs. direction from hall sensors or sign of motor controller speed dopMCDir = ( getMeasuredDialOutPumpMCSpeed() >= 0.0 ? MOTOR_DIR_FORWARD : MOTOR_DIR_REVERSE ); - if ( ( dialOutPumpDirectionSet != dopMCDir ) || ( dialOutPumpDirectionSet != dopMotorDirectionFromHallSensors ) ) + + // check set direction vs. direction from hall sensors + if ( dialOutPumpDirectionSet != dopMotorDirectionFromHallSensors ) { #ifndef DISABLE_PUMP_DIRECTION_CHECKS SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DIAL_OUT_PUMP_MC_DIRECTION_CHECK, (U32)dialOutPumpDirectionSet, (U32)dopMotorDirectionFromHallSensors ) #endif } + // check set direction vs. direction from sign of motor controller speed + if ( dialOutPumpDirectionSet != dopMCDir ) + { +#ifndef DISABLE_PUMP_DIRECTION_CHECKS + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DIAL_OUT_PUMP_MC_DIRECTION_CHECK, (U32)dialOutPumpDirectionSet, (U32)dopMCDir ) +#endif + } } }