Index: firmware/App/Modes/Prime.c =================================================================== diff -u -r5674acba383b75add893d050221e0347dbf8f8a6 -r539eaef45e9cc203ccec223df9b2a7acf4770ef6 --- firmware/App/Modes/Prime.c (.../Prime.c) (revision 5674acba383b75add893d050221e0347dbf8f8a6) +++ firmware/App/Modes/Prime.c (.../Prime.c) (revision 539eaef45e9cc203ccec223df9b2a7acf4770ef6) @@ -106,7 +106,6 @@ static U32 primeDialysateDialyzerStartTime; ///< Starting time of priming dialysate dialyzer circuit. static U32 primeDialysateBypassStartTime; ///< Starting time of priming dialysate bypass circuit. static U32 steadyVolumeSamplingStartTime; ///< Load cell steady volume sampling interval starting time. -static BOOL runBloodCircuitPrimeAgain; ///< Flag indicates HD should run blood circuit prime once more time. static F32 minimumReservoirVolume; ///< Minimum reservoir volume in mL. static U32 steadyVolumeCount; ///< Use to keep track the number of dVolume/dt < Threshold @@ -161,7 +160,6 @@ primeStartTime = getMSTimerCount(); primePauseStartTime = 0; primeStatusBroadcastTimerCounter = 0; - runBloodCircuitPrimeAgain = TRUE; setAlarmUserActionEnabled( ALARM_USER_ACTION_RESUME, TRUE ); setAlarmUserActionEnabled( ALARM_USER_ACTION_RINSEBACK, FALSE ); @@ -618,19 +616,7 @@ { if ( ++steadyVolumeCount >= STEADY_VOLUME_COUNT_SEC ) { -#ifdef RUN_BLOOD_CIRCUIT_PRIME_AGAIN - if ( TRUE == runBloodCircuitPrimeAgain ) - { - runBloodCircuitPrimeAgain = FALSE; - state = HD_PRIME_SALINE_SETUP_STATE; - } - else - { - state = HD_PRIME_SALINE_DIALYZER_SETUP_STATE; - } -#else state = HD_PRIME_SALINE_DIALYZER_SETUP_STATE; -#endif } } else