Index: firmware/App/Controllers/DialInFlow.c =================================================================== diff -u -rebe0866d88ffe938d6ff48c9c1e30a83d63145be -rc45f78c0ff3b0a866b7f6233092a2e611e801460 --- firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision ebe0866d88ffe938d6ff48c9c1e30a83d63145be) +++ firmware/App/Controllers/DialInFlow.c (.../DialInFlow.c) (revision c45f78c0ff3b0a866b7f6233092a2e611e801460) @@ -816,9 +816,15 @@ // Check the measured flow against estimated flow - / F32 deltaFlow = 0.5 * estimatedFlow; // 50% estimated flow - if ( deltaFlow < fabs( estimatedFlow - filteredDialInFlowMeterReading ) ) + //if ( deltaFlow < fabs( estimatedFlow - filteredDialInFlowMeterReading ) ) + //{ + // SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, filteredDialInFlowMeterReading, estimatedFlow ); + //} + + // Check measured rotor speed vs. measured motor speed while controlling to target + if ( ( TRUE == isPersistentAlarmTriggered( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, deltaFlow < fabs( estimatedFlow - filteredDialInFlowMeterReading ) ) ) ) { - SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, filteredDialInFlowMeterReading, estimatedFlow ); + SET_ALARM_WITH_2_F32_DATA( ALARM_ID_HD_DIAL_IN_FLOW_CHECK_FAILURE, filteredDialInFlowMeterReading, estimatedFlow ); } return estimatedFlow;