Index: firmware/App/Controllers/BloodFlow.c =================================================================== diff -u -r46617afb446c35270b59e21085b270433d13d113 -r82e9c6f8c12f684f5aca406e93ff31554017eee8 --- firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 46617afb446c35270b59e21085b270433d13d113) +++ firmware/App/Controllers/BloodFlow.c (.../BloodFlow.c) (revision 82e9c6f8c12f684f5aca406e93ff31554017eee8) @@ -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 * ***************************************************************************/ @@ -1210,7 +1210,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 } bpMCDir = ( getMeasuredBloodPumpMCSpeed() >= 0.0 ? MOTOR_DIR_FORWARD : MOTOR_DIR_REVERSE );