Index: firmware/App/Controllers/DialOutFlow.c =================================================================== diff -u -rc459ad58ef5420db7440fb5478d4b19351d65bcd -r358e32a9fb25a6929fc5bbd7ee1d8ed2c4b69920 --- firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision c459ad58ef5420db7440fb5478d4b19351d65bcd) +++ firmware/App/Controllers/DialOutFlow.c (.../DialOutFlow.c) (revision 358e32a9fb25a6929fc5bbd7ee1d8ed2c4b69920) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2021 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 DialOutFlow.c +* @file DialOutFlow.c * -* @author (last) Sean Nash -* @date (last) 13-Oct-2020 +* @author (last) Sean Nash +* @date (last) 19-Aug-2021 * -* @author (original) Sean -* @date (original) 24-Jan-2020 +* @author (original) Sean +* @date (original) 24-Jan-2020 * ***************************************************************************/ @@ -811,7 +811,9 @@ if ( lastDialOutPumpDirectionCount != dirErrorCnt ) { lastDialOutPumpDirectionCount = dirErrorCnt; +#ifndef DISABLE_PUMP_DIRECTION_CHECKS SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_PUMP_DIRECTION_STATUS_ERROR, (U32)HD_PUMP_DIALYSATE_OUTLET_PUMP ) +#endif } dopMCDir = ( getMeasuredDialOutPumpMCSpeed() >= 0.0 ? MOTOR_DIR_FORWARD : MOTOR_DIR_REVERSE );