Index: firmware/App/Modes/ModeFault.c =================================================================== diff -u -rb07452c77a18beb648cc309ed6f97c793f1f8819 -rf1d684e536e7911b356a5d35320c909a1016d3d0 --- firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision b07452c77a18beb648cc309ed6f97c793f1f8819) +++ firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision f1d684e536e7911b356a5d35320c909a1016d3d0) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2019-2022 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2023 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 ModeFault.c * -* @author (last) Dara Navaei -* @date (last) 17-Oct-2022 +* @author (last) Sean Nash +* @date (last) 04-May-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -70,8 +70,10 @@ DG_OP_MODE_T dgOperationMode = getDGOpMode(); initFaultMode(); + requestAlarmLampPattern( LAMP_PATTERN_FAULT ); // in case we get here before LED POST can take alarm lamp out of manual control. doorClosedRequired( FALSE, FALSE ); syringeDetectionRequired( FALSE ); + setVenousBubbleDetectionEnabled( FALSE ); // Set user alarm recovery actions allowed in this mode setAlarmUserActionEnabled( ALARM_USER_ACTION_RESUME, FALSE ); @@ -122,6 +124,12 @@ signalBloodPumpHardStop(); signalDialInPumpHardStop(); signalDialOutPumpHardStop(); +#ifndef _RELEASE_ + if ( SW_CONFIG_DISABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_AIR_PUMP ) ) +#endif + { + setAirPumpState( AIR_PUMP_STATE_OFF ); + } // Ensure all valves are in safe position setValveAirTrap( STATE_CLOSED );