Index: firmware/App/Modes/Prime.c =================================================================== diff -u -rcc4f8440e8ad7fa8f2ced2467d922be7422c344c -r3db5538afb80bc12822304d698343e0325fa708e --- firmware/App/Modes/Prime.c (.../Prime.c) (revision cc4f8440e8ad7fa8f2ced2467d922be7422c344c) +++ firmware/App/Modes/Prime.c (.../Prime.c) (revision 3db5538afb80bc12822304d698343e0325fa708e) @@ -181,11 +181,13 @@ switch ( currentPrimeState ) { case HD_PRIME_START_STATE: +#ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_PRIMING ) ) { currentPrimeState = HD_PRIME_RESERVOIR_ONE_FILL_COMPLETE_STATE; } else +#endif { currentPrimeState = HD_PRIME_WAIT_FOR_USER_START_STATE; } @@ -426,10 +428,12 @@ // Keep updating start time until the user requested priming primeStartTime = getMSTimerCount(); +#ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_UI_INTERACTION ) ) { primeStartRequested = TRUE; } +#endif if ( TRUE == primeStartRequested ) { @@ -581,11 +585,13 @@ steadyVolumeSamplingStartTime = getMSTimerCount(); primeDialysateDialyzerStartTime = getMSTimerCount(); +#ifndef _RELEASE_ if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_PRIMING ) ) { state = HD_PRIME_WET_SELF_TESTS_STATE; } else +#endif { state = HD_PRIME_DIALYSATE_DIALYZER_STATE; } @@ -832,14 +838,21 @@ signalResumeSelfTests(); } +#ifndef _RELEASE_ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_WET_SELF_TEST ) != SW_CONFIG_ENABLE_VALUE ) +#endif { execWetSelfTests(); } - if ( ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_WET_SELF_TEST ) ) || ( TRUE == isWetSelfTestsPassed() ) ) + if ( TRUE == isWetSelfTestsPassed() ) { - state = HD_PRIME_COMPLETE; +#ifndef _RELEASE_ + if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_WET_SELF_TEST ) ) +#endif + { + state = HD_PRIME_COMPLETE; + } } if ( TRUE == doesAlarmStatusIndicateStop() )