Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r971fc9950b919f8b54ff88a627f6cb1e8a0906ee -r7f38146626e566ac94d97d785af7290529992fdd --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 971fc9950b919f8b54ff88a627f6cb1e8a0906ee) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 7f38146626e566ac94d97d785af7290529992fdd) @@ -411,8 +411,8 @@ if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_UV_REACTORS ) != SW_CONFIG_ENABLE_VALUE ) #endif { - // Check if the alarm has been active - if ( TRUE == checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy, (U32)reactor, MAX_ALLOWED_UNHEALTHY_REACTOR_PERIOD ) ) + checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy, (U32)reactor, MAX_ALLOWED_UNHEALTHY_REACTOR_PERIOD ); + if ( TRUE == isPersistentAlarmTriggered( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy) ) { reactorsStatus[ reactor ].switchState = TURN_OFF; }