Index: firmware/App/Modes/Prime.c =================================================================== diff -u -rd4c4881844398626062215e8974f9f9c02890dbf -rfa95951ccfc032581bd603881f2f76f17ac00b6b --- firmware/App/Modes/Prime.c (.../Prime.c) (revision d4c4881844398626062215e8974f9f9c02890dbf) +++ firmware/App/Modes/Prime.c (.../Prime.c) (revision fa95951ccfc032581bd603881f2f76f17ac00b6b) @@ -545,7 +545,7 @@ /*********************************************************************//** * @brief - * The handlePrimeSalineSetupState function checks user's request to start + * The handlePrimeWaitForUserStartState function checks user's request to start * priming. * @details Inputs: primeStartReqReceived * @details Outputs: control valves to purge air @@ -557,6 +557,8 @@ // Keep updating start time until the user requested priming primeStartTime = getMSTimerCount(); + signalAllowDGFillRes1(); + signalAllowDGFillRes2(); #ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_UI_INTERACTION ) ) @@ -600,6 +602,7 @@ purgeAirValvesBloodPumpControl(); purgeAirTimeOutStartTime = getMSTimerCount(); primeSalineDialyzerBubbleClearStartTime = getMSTimerCount(); + if ( getTestConfigStatus( TEST_CONFIG_USE_WET_CARTRIDGE ) != TRUE ) { primeDialyzerBubbleClearState = PRIME_BUBBLE_CLEAR_READY_STATE; Index: firmware/App/Modes/SelfTests.c =================================================================== diff -u -r5fcae5901d466789c329256f5532cf64be549c83 -rfa95951ccfc032581bd603881f2f76f17ac00b6b --- firmware/App/Modes/SelfTests.c (.../SelfTests.c) (revision 5fcae5901d466789c329256f5532cf64be549c83) +++ firmware/App/Modes/SelfTests.c (.../SelfTests.c) (revision fa95951ccfc032581bd603881f2f76f17ac00b6b) @@ -945,8 +945,6 @@ { setOcclusionInstallLevel(); // Record occlusion pressure level after a new cartridge is installed doorClosedRequired( TRUE, TRUE ); - signalAllowDGFillRes1(); - signalAllowDGFillRes2(); state = DRY_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE; } } @@ -1458,19 +1456,6 @@ setupForSelfTestsStop(); } -#ifndef _RELEASE_ - if ( ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_AIR_PUMP ) ) || // Allow res 1&2 fills now if air pump not disabled - ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_DRY_SELF_TESTS ) ) ) - { - if ( state != DRY_SELF_TESTS_SYRINGE_PUMP_PRIME_STATE ) - { - signalAllowDGFlushFills(); - signalAllowDGFillRes1(); - signalAllowDGFillRes2(); - } - } -#endif - return state; }