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; }