Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -r86eec09ab556fbd970ddcae9dc622727928ee757 -r956bf7dbc9e63c875428495061dbdbcdbb8cacb0 --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 86eec09ab556fbd970ddcae9dc622727928ee757) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 956bf7dbc9e63c875428495061dbdbcdbb8cacb0) @@ -319,6 +319,7 @@ { uvReactorsSelfTestResult = SELF_TEST_STATUS_FAILED; +#ifndef DISABLE_UV_REACTOR_MONITOR // Check which reactor has not been healthy and raise an alarm if ( FALSE == isInletHealthy ) { @@ -328,6 +329,7 @@ { SET_ALARM_WITH_1_U32_DATA( ALARM_ID_UV_REACTOR_NOT_HEALTHY, OUTLET_UV_REACTOR ); } +#endif } // Turn off the UV reactors once the test is finished @@ -386,13 +388,15 @@ // 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_REACTOR_MONITOR checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, isReactorUnhealthy, (U32)reactor, MAX_ALLOWED_UNHEALTHY_REACTOR_PERIOD ); // Check if the alarm has been active if( isAlarmActive( ALARM_ID_UV_REACTOR_NOT_HEALTHY ) ) { reactorsStatus[ reactor ].switchState = TURN_OFF; } +#endif // Check if it has been requested to turn off a reactor if( TURN_OFF == reactorsStatus[ reactor ].switchState )