Index: firmware/App/Controllers/BloodFlow.c =================================================================== diff -u -rffef40f212d885498157395a1a3375542747a603 -r358e32a9fb25a6929fc5bbd7ee1d8ed2c4b69920 --- firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision ffef40f212d885498157395a1a3375542747a603) +++ firmware/App/Controllers/BloodFlow.c (.../BloodFlow.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 BloodFlow.c +* @file BloodFlow.c * -* @author (last) Sean Nash -* @date (last) 13-Oct-2020 +* @author (last) Sean Nash +* @date (last) 13-Aug-2021 * -* @author (original) Sean Nash -* @date (original) 07-Nov-2019 +* @author (original) Sean Nash +* @date (original) 07-Nov-2019 * ***************************************************************************/ @@ -1023,7 +1023,9 @@ if ( lastBloodPumpDirectionCount != dirErrorCnt ) { lastBloodPumpDirectionCount = dirErrorCnt; +#ifndef DISABLE_PUMP_DIRECTION_CHECKS SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_PUMP_DIRECTION_STATUS_ERROR, (U32)HD_PUMP_BLOOD_PUMP ) +#endif } #endif bpMCDir = ( getMeasuredBloodPumpMCSpeed() >= 0.0 ? MOTOR_DIR_FORWARD : MOTOR_DIR_REVERSE );