Index: firmware/App/Controllers/BloodLeak.c =================================================================== diff -u -r4305d29abf3256f959aea88e5755bff15395e9fb -r8b495177196143062017338c2a1e3a92eb5c245a --- firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision 4305d29abf3256f959aea88e5755bff15395e9fb) +++ firmware/App/Controllers/BloodLeak.c (.../BloodLeak.c) (revision 8b495177196143062017338c2a1e3a92eb5c245a) @@ -397,22 +397,6 @@ /*********************************************************************//** * @brief - * The zeroBloodLeakReset function resets the commandRqstCount for all the - * zero blood leak commands. - * @details Inputs: none - * @details Outputs: none - * @return none - *************************************************************************/ -void zeroBloodLeakReset( void ) -{ - resetEmbModeCmdRqstCount( Z_EMB_MODE_CMD ); - resetEmbModeCmdRqstCount( G_EMB_MODE_CMD ); - resetEmbModeCmdRqstCount( Q_EMB_MODE_CMD ); - resetEmbModeCmdRqstCount( T_EMB_MODE_CMD ); -} - -/*********************************************************************//** - * @brief * The hasBloodLeakZeroSequenceFailed function returns TURE if the number * of times the zero sequence has failed. * @details Inputs: bloodLeakEmbModeCmd @@ -653,7 +637,10 @@ if ( FALSE == hasCmdSqncFailed ) { // Done with zero sequence, transition to other states - zeroBloodLeakReset(); + resetEmbModeCmdRqstCount( Z_EMB_MODE_CMD ); + resetEmbModeCmdRqstCount( G_EMB_MODE_CMD ); + resetEmbModeCmdRqstCount( Q_EMB_MODE_CMD ); + resetEmbModeCmdRqstCount( T_EMB_MODE_CMD ); bloodLeakSelfTestStatus = SELF_TEST_STATUS_PASSED; state = BLOOD_LEAK_NORMAL_STATE; } Index: firmware/App/Controllers/BloodLeak.h =================================================================== diff -u -radde281467e093774f5fa84419a1476b5b2bf52c -r8b495177196143062017338c2a1e3a92eb5c245a --- firmware/App/Controllers/BloodLeak.h (.../BloodLeak.h) (revision adde281467e093774f5fa84419a1476b5b2bf52c) +++ firmware/App/Controllers/BloodLeak.h (.../BloodLeak.h) (revision 8b495177196143062017338c2a1e3a92eb5c245a) @@ -56,7 +56,6 @@ void execBloodLeak( void ); void execBloodLeakEmbModeCommand( void ); BOOL zeroBloodLeak( void ); -void zeroBloodLeakReset (void ); BOOL hasBloodLeakZeroSequenceFailed( void ); void exitBloodLeakNormalState( void ); Index: firmware/App/Modes/SelfTests.c =================================================================== diff -u -radde281467e093774f5fa84419a1476b5b2bf52c -r8b495177196143062017338c2a1e3a92eb5c245a --- firmware/App/Modes/SelfTests.c (.../SelfTests.c) (revision adde281467e093774f5fa84419a1476b5b2bf52c) +++ firmware/App/Modes/SelfTests.c (.../SelfTests.c) (revision 8b495177196143062017338c2a1e3a92eb5c245a) @@ -1854,7 +1854,6 @@ { if ( TRUE == hasBloodLeakZeroSequenceFailed() ) { - zeroBloodLeakReset(); #ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM ) != SW_CONFIG_ENABLE_VALUE ) #endif