Index: firmware/App/Modes/ModePostTreat.c =================================================================== diff -u -r2b79e2d880e3ed9867321835388011726d0a2e52 -re121c9aa3c07a60246e64f83c1dc7e93cf48c7f7 --- firmware/App/Modes/ModePostTreat.c (.../ModePostTreat.c) (revision 2b79e2d880e3ed9867321835388011726d0a2e52) +++ firmware/App/Modes/ModePostTreat.c (.../ModePostTreat.c) (revision e121c9aa3c07a60246e64f83c1dc7e93cf48c7f7) @@ -390,20 +390,17 @@ OPN_CLS_STATE_T frontDoor = getSwitchStatus( FRONT_DOOR ); OPN_CLS_STATE_T pumpTrack = getSwitchStatus( PUMP_TRACK_SWITCH ); - if ( ( STATE_CLOSED == frontDoor ) && ( STATE_CLOSED == pumpTrack ) ) - { #ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_UI_INTERACTION ) ) - { - patientDisconnectionConfirmed = TRUE; - } + if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_UI_INTERACTION ) ) + { + patientDisconnectionConfirmed = TRUE; + } #endif - if ( TRUE == patientDisconnectionConfirmed ) - { - patientDisconnectionConfirmed = FALSE; - state = HD_POST_TREATMENT_DISPOSABLE_REMOVAL_STATE; - } + if ( TRUE == patientDisconnectionConfirmed ) + { + patientDisconnectionConfirmed = FALSE; + state = HD_POST_TREATMENT_DISPOSABLE_REMOVAL_STATE; } return state;