Index: firmware/App/Controllers/BloodLeak.c =================================================================== diff -u -r43a84133216095b12529dbfcc957bb3738bbc3a2 -rcc7f1bd82e346521f0102b3398bd030fb3bb0e6f --- firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision 43a84133216095b12529dbfcc957bb3738bbc3a2) +++ firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision cc7f1bd82e346521f0102b3398bd030fb3bb0e6f) @@ -8,7 +8,7 @@ * @file BloodLeak.c * * @author (last) Dara Navaei -* @date (last) 04-Jan-2022 +* @date (last) 22-Feb-2022 * * @author (original) Peman Montazemi * @date (original) 18-Mar-2021 @@ -417,7 +417,9 @@ } else { +#ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) +#endif { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_SENSOR_SET_POINT_SET_FAILURE ); } @@ -525,7 +527,9 @@ { if ( TRUE == didTimeout( bloodLeakZeroStartTime, BLOOD_LEAK_TIMEOUT_MS ) ) { +#ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) +#endif { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_FAULT ); } @@ -604,7 +608,9 @@ if ( ++bloodLeakPersistenceCtr > BLOOD_LEAK_PERSISTENCE ) { bloodLeakPersistenceCtr = BLOOD_LEAK_PERSISTENCE; +#ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) +#endif { activateAlarmNoData( ALARM_ID_HD_BLOOD_LEAK_DETECTED ); } @@ -618,7 +624,9 @@ } else { +#ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) +#endif { clearAlarmCondition( ALARM_ID_HD_BLOOD_LEAK_DETECTED ); }