Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -rdbb0e7f443995f05dad671e692dc11c599f4e234 -r46a2d238d6cf88ff3122b99080789ebc6d83069d --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision dbb0e7f443995f05dad671e692dc11c599f4e234) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 46a2d238d6cf88ff3122b99080789ebc6d83069d) @@ -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 DGInterface.c * -* @author (last) Sean Nash -* @date (last) 11-Dec-2023 +* @author (last) Darren Cox +* @date (last) 31-Jan-2024 * * @author (original) Sean * @date (original) 08-Apr-2020 @@ -1271,9 +1271,7 @@ BOOL isTempBelowTrigger = (BOOL)( isTDITempBelowLowSafety || isTDiTempBelowDialysateTarget ); BOOL isTempAboveTrigger = (BOOL)( isTDiTempAboveLowSafety || isTDiTempAboveDialysateTarget ); -#ifndef _RELEASE_ - if ( getSoftwareConfigStatus( SW_CONFIG_DISABLE_DIALYSATE_TEMP_CHECK ) != SW_CONFIG_ENABLE_VALUE ) -#endif + if ( getTargetDialInFlowRate() > 0 ) { // check clear condition first if ( TRUE == isAlarmActive( ALARM_ID_HD_DIALYSATE_TEMP_ABOVE_SAFETY_TEMP ) ) @@ -1294,6 +1292,12 @@ } checkPersistentAlarm(ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP, isTempBelowTrigger, dgDialysateTemp, dgTrimmerTempSet ); } + else + { + checkPersistentAlarm(ALARM_ID_HD_DIALYSATE_TEMP_ABOVE_SAFETY_TEMP, FALSE, dgDialysateTemp, dgTrimmerTempSet ); + checkPersistentAlarm(ALARM_ID_HD_DIALYSATE_TEMP_ABOVE_TARGET_TEMP, FALSE, dgDialysateTemp, dgTrimmerTempSet ); + checkPersistentAlarm(ALARM_ID_HD_DIALYSATE_TEMP_BELOW_TARGET_TEMP, FALSE, dgDialysateTemp, dgTrimmerTempSet ); + } } // ********** private functions **********