Index: firmware/App/Controllers/BloodFlow.c =================================================================== diff -u -r1145e9197855b4f2cb79eb407d3899059b0ca410 -re5c6383e93940c2722d3bf73beb1d13a6d3eae6e --- firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 1145e9197855b4f2cb79eb407d3899059b0ca410) +++ firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision e5c6383e93940c2722d3bf73beb1d13a6d3eae6e) @@ -7,8 +7,8 @@ * * @file BloodFlow.c * -* @author (last) Michael Garthwaite -* @date (last) 21-Apr-2023 +* @author (last) Dara Navaei +* @date (last) 08-May-2023 * * @author (original) Sean Nash * @date (original) 07-Nov-2019 @@ -534,16 +534,12 @@ *************************************************************************/ void resetBloodPumpRotorCount( void ) { -#ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_ENABLE_WORN_OUT_CARTRIDGE ) ) + bloodPumpRotorCounter.data = 0; + + if ( TRUE == getTestConfigStatus( TEST_CONFIG_USE_WORN_CARTRIDGE ) ) { bloodPumpRotorCounter.data = BP_MAX_ROTOR_COUNT_FOR_WEAR; } - else -#endif - { - bloodPumpRotorCounter.data = 0; - } } /*********************************************************************//**