Index: firmware/App/Modes/ModeStandby.c =================================================================== diff -u -r037f0edb0b880130563058c809ba50308f2a63e9 -rc17d3d89bae686ff525a3fb9ed697c3d8107c275 --- firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision 037f0edb0b880130563058c809ba50308f2a63e9) +++ firmware/App/Modes/ModeStandby.c (.../ModeStandby.c) (revision c17d3d89bae686ff525a3fb9ed697c3d8107c275) @@ -212,6 +212,14 @@ broadcastFilterFlushData( timeout, countdown ); } + if ( TRUE == endSampleWaterRequest ) + { + endSampleWaterRequest = FALSE; + setValveState( VPI, VALVE_STATE_CLOSED ); + setValveState( VPD, VALVE_STATE_CLOSED ); + state = DG_STANDBY_MODE_STATE_IDLE; + } + return state; } @@ -238,6 +246,7 @@ if ( TRUE == endSampleWaterRequest ) { + endSampleWaterRequest = FALSE; setValveState( VPI, VALVE_STATE_CLOSED ); #ifndef V_2_SYSTEM setValveState( VPD, VALVE_STATE_DRAIN_C_TO_NO ); @@ -324,7 +333,7 @@ break; case SAMPLE_WATER_CMD_END: - if ( ( DG_MODE_STAN == getCurrentOperationMode() ) && ( DG_STANDBY_MODE_STATE_FLUSH_FILTER_IDLE == standbyState ) ) + if ( DG_MODE_STAN == getCurrentOperationMode() ) { endSampleWaterRequest = TRUE; cmdResponse.rejected = FALSE;