Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -rf3929ca1056abeecfbfdca87392dfe65a4e64c40 -re47489aaf3c818c6f438434ff6b2cf1cafc4210c --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision f3929ca1056abeecfbfdca87392dfe65a4e64c40) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision e47489aaf3c818c6f438434ff6b2cf1cafc4210c) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. +* Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file AlarmMgmt.c * * @author (last) Dara Navaei -* @date (last) 27-Jul-2023 +* @date (last) 09-May-2024 * * @author (original) Sean * @date (original) 04-Feb-2020 @@ -372,6 +372,7 @@ { BOOL status = FALSE; + // Check all the inlet water conditions status |= isAlarmActive( ALARM_ID_DG_CLEANING_MODE_INLET_WATER_TEMP_TOO_HIGH ); status |= isAlarmActive( ALARM_ID_DG_CLEANING_MODE_INLET_WATER_TEMP_TOO_LOW ); status |= isAlarmActive( ALARM_ID_DG_CLEANING_MODE_INLET_WATER_COND_TOO_HIGH ); @@ -382,12 +383,11 @@ return status; } -/************************************************************************* +/*********************************************************************//** * @brief * The alarmUserNotify function activates Fault LED and Audio if FAULT exists. * @details Inputs: none * @details Outputs: LED and Audio control - * @param none * @return none *************************************************************************/ static void alarmUserNotify( void ) @@ -427,13 +427,12 @@ } } -/************************************************************************* +/*********************************************************************//** * @brief * The isTransitionToFaultRequired function checks whether the alarm management * should request a transition to fault mode immediately or it should be deferred * @details Inputs: none * @details Outputs: none - * @param none * @return TRUE if transition to fault is required otherwise, FALSE *************************************************************************/ static BOOL isTransitionToFaultRequired( void )