Index: firmware/App/Controllers/UVReactors.c =================================================================== diff -u -rccf1219089b835ab2f9d401c0be0d2000be9010a -r594e11a544c7d3f97f057a2d4c146f464e437948 --- firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision ccf1219089b835ab2f9d401c0be0d2000be9010a) +++ firmware/App/Controllers/UVReactors.c (.../UVReactors.c) (revision 594e11a544c7d3f97f057a2d4c146f464e437948) @@ -318,6 +318,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 ) { @@ -327,6 +328,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 @@ -379,13 +381,16 @@ BOOL isReactorHealthy = getUVReactorHealth( reactor ); + +#ifndef DISABLE_UV_REACTOR_MONITOR checkPersistentAlarm( ALARM_ID_UV_REACTOR_NOT_HEALTHY, !isReactorHealthy, (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 )