Index: firmware/App/Controllers/BloodFlow.c =================================================================== diff -u -rf760ffc4b10556e5186e9ceb90294262063440ca -r8afac005a36a62d8d36e58a4c46d0225b3367204 --- firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision f760ffc4b10556e5186e9ceb90294262063440ca) +++ firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 8afac005a36a62d8d36e58a4c46d0225b3367204) @@ -539,14 +539,14 @@ void resetBloodPumpRotorCount( void ) { #ifndef _RELEASE_ - if ( getSoftwareConfigStatus( SW_CONFIG_ENABLE_WORN_OUT_CARTRIDGE ) != SW_CONFIG_ENABLE_VALUE ) + if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_ENABLE_WORN_OUT_CARTRIDGE ) ) { - bloodPumpRotorCounter.data = 0; + bloodPumpRotorCounter.data = BP_MAX_ROTOR_COUNT_FOR_WEAR; } else #endif { - bloodPumpRotorCounter.data = BP_MAX_ROTOR_COUNT_FOR_WEAR; + bloodPumpRotorCounter.data = 0; } }