Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r22176ce95e49213c48454f34ddf5d29b8109f2cb -rd182ea22d168c4a6522993f8a0a362586e87e591 --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 22176ce95e49213c48454f34ddf5d29b8109f2cb) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision d182ea22d168c4a6522993f8a0a362586e87e591) @@ -433,16 +433,14 @@ // If the flow is below minimum and the allowed time has elapsed, set the reactor's signal to be low and set its state // to be off. setReactorEnableStatus( reactor, PIN_SIGNAL_LOW ); - // The state is directly changed here because the switch state is not changed to be off - reactorsStatus[ reactor ].execState = UV_REACTOR_STATE_OFF; + state = UV_REACTOR_STATE_OFF; } } // Check if it has been requested to turn off a reactor if ( TURN_OFF == reactorsStatus[ reactor ].switchState ) { setReactorEnableStatus( reactor, PIN_SIGNAL_LOW ); - state = UV_REACTOR_STATE_OFF; }