Index: firmware/App/Controllers/BloodLeak.c =================================================================== diff -u -reb0949253d49058defea55b07876920d887d7f78 -r791b25bd20e80fce8c5d7e8a3ac37d8395f2315c --- firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision eb0949253d49058defea55b07876920d887d7f78) +++ firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision 791b25bd20e80fce8c5d7e8a3ac37d8395f2315c) @@ -637,28 +637,10 @@ state = BLOOD_LEAK_NORMAL_STATE; } // If not successful, retry if we've not run out - else if ( bloodLeakEmbModeCmd[ Z_EMB_MODE_CMD ].commandRqstCount < BLOOD_LEAK_EMB_MODE_MAX_NUM_CMD_TRIES ) - { - if ( TRUE == zeroBloodLeak() ) - { - // Check if the zero sequence has been successfully enqueued - // If the command retry of one of the commands in the zero sequence failed, it means all of them have failed - // So in this condition only the Z command is checked - bloodLeakEmbModeCmd[ Z_EMB_MODE_CMD ].commandRqstCount++; // TODO remove - } - } - // If out of retries, fault else { -#ifndef _RELEASE_ - if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) -#endif - { - bloodLeakSelfTestStatus = SELF_TEST_STATUS_FAILED; - state = BLOOD_LEAK_INIT_STATE; - - SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_BLOOD_LEAK_SENSOR_ZERO_SEQUENCE_FAILED, failedCmd ); - } + bloodLeakSelfTestStatus = SELF_TEST_STATUS_FAILED; + state = BLOOD_LEAK_INIT_STATE; } }