Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -r29a2c3c7d7618489c0ada9f98e1d30226b455392 -r5e2d30dcbd02f5eb737aee7ec45c63d868daf252 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 29a2c3c7d7618489c0ada9f98e1d30226b455392) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision 5e2d30dcbd02f5eb737aee7ec45c63d868daf252) @@ -272,10 +272,17 @@ // Don't interrupt pump control unless rate or mode is changing if ( ( dirFlowRate != targetDialInFlowRate ) || ( mode != dialInPumpControlMode ) ) { -#ifndef NO_PUMP_FLOW_LIMITS + BOOL byPassFlowLimit = FALSE; + +#ifndef _RELEASE_ + if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_PUMPS_FLOW_LIMITS ) ) + { + byPassFlowLimit = TRUE; + } +#endif + // Verify flow rate - if ( flowRate <= MAX_DIAL_IN_FLOW_RATE ) -#endif + if ( ( flowRate <= MAX_DIAL_IN_FLOW_RATE ) || ( TRUE == byPassFlowLimit ) ) { resetDialInFlowMovingAverage(); targetDialInFlowRate = dirFlowRate; @@ -314,12 +321,17 @@ } result = TRUE; } -#ifndef NO_PUMP_FLOW_LIMITS + else // Requested flow rate too high - { - SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_DIAL_IN_FLOW_SET_TOO_HIGH, flowRate ) - } + { +#ifndef _RELEASE_ + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_PUMPS_FLOW_LIMITS ) != SW_CONFIG_ENABLE_VALUE ) #endif + { + SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_DIAL_IN_FLOW_SET_TOO_HIGH, flowRate ) + } + } + } }