Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -r068f4f4de69017a1d9d24c6c67bf7d3e46b8caed -r2f2d4cca5fc4a2f0755411c727a254e88bc6c4f0 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 068f4f4de69017a1d9d24c6c67bf7d3e46b8caed) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 2f2d4cca5fc4a2f0755411c727a254e88bc6c4f0) @@ -935,10 +935,13 @@ // Check pump direction error count if ( lastDialOutPumpDirectionCount != dirErrorCnt ) { - lastDialOutPumpDirectionCount = dirErrorCnt; -#ifndef DISABLE_PUMP_DIRECTION_CHECKS - SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_PUMP_DIRECTION_STATUS_ERROR, (U32)HD_PUMP_DIALYSATE_OUTLET_PUMP ) +#ifndef _RELEASE_ + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_PUMP_DIRECTION_CHECKS ) != SW_CONFIG_ENABLE_VALUE ) #endif + { + lastDialOutPumpDirectionCount = dirErrorCnt; + SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_PUMP_DIRECTION_STATUS_ERROR, (U32)HD_PUMP_DIALYSATE_OUTLET_PUMP ) + } } dopMCDir = ( getMeasuredDialOutPumpMCSpeed() >= 0.0 ? MOTOR_DIR_FORWARD : MOTOR_DIR_REVERSE );