Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r9f5d2ce00deb3121935f43ea3824824576ca92da -r8fe65bf6222137cc7182ccacff3a5f2fb2f03753 --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 9f5d2ce00deb3121935f43ea3824824576ca92da) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 8fe65bf6222137cc7182ccacff3a5f2fb2f03753) @@ -397,13 +397,16 @@ // Get the health of the reactor (override or non-override) and decide the status BOOL isReactorUnhealthy = ( UV_REACTOR_HEALTHY == getUVReactorHealth( reactor ) ? FALSE : TRUE ); -#ifndef DISABLE_UV_REACTORS - // Check if the alarm has been active - if ( TRUE == checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy, (U32)reactor, MAX_ALLOWED_UNHEALTHY_REACTOR_PERIOD ) ) +#ifndef _RELEASE_ + if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_UV_REACTORS ) != SW_CONFIG_ENABLE_VALUE ) +#endif { - reactorsStatus[ reactor ].switchState = TURN_OFF; + // Check if the alarm has been active + if ( TRUE == checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy, (U32)reactor, MAX_ALLOWED_UNHEALTHY_REACTOR_PERIOD ) ) + { + reactorsStatus[ reactor ].switchState = TURN_OFF; + } } -#endif // Check if it has been requested to turn off a reactor if ( TURN_OFF == reactorsStatus[ reactor ].switchState )