Index: firmware/App/Controllers/BloodLeak.c =================================================================== diff -u -rb42cae2cefe3abd8e5102713e379617b16fb6c6f -r15f9827c863812cfd1f891d22342103fe9a72abc --- firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision b42cae2cefe3abd8e5102713e379617b16fb6c6f) +++ firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision 15f9827c863812cfd1f891d22342103fe9a72abc) @@ -414,12 +414,10 @@ } else { -#ifndef IGNORE_BLOOD_LEAK_ALARM - //if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_SENSOR_SET_POINT_SET_FAILURE ); } -#endif } } else @@ -524,12 +522,10 @@ { if ( TRUE == didTimeout( bloodLeakZeroStartTime, BLOOD_LEAK_TIMEOUT_MS ) ) { -#ifndef IGNORE_BLOOD_LEAK_ALARM - //if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_FAULT ); } -#endif } } @@ -605,12 +601,10 @@ if ( ++bloodLeakPersistenceCtr > BLOOD_LEAK_PERSISTENCE ) { bloodLeakPersistenceCtr = BLOOD_LEAK_PERSISTENCE; -#ifndef IGNORE_BLOOD_LEAK_ALARM - //if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_DETECTED ); } -#endif } } else // Blood leak not detected @@ -621,12 +615,10 @@ } else { -#ifndef IGNORE_BLOOD_LEAK_ALARM - //if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) { clearAlarmCondition( ALARM_ID_HD_BLOOD_LEAK_DETECTED ); } -#endif } }