Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -r41b864cbe954522399b3264d50109a3ae0786dfc -rdc69c369866d4ca8e84e8e3906f2a716dda3089d --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 41b864cbe954522399b3264d50109a3ae0786dfc) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision dc69c369866d4ca8e84e8e3906f2a716dda3089d) @@ -570,35 +570,6 @@ venHighLimit = (F32)getS32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT ); } -#ifndef _RELEASE_ - if ( SW_CONFIG_DISABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_DISABLE_AIR_PUMP ) ) -#endif - { - // When the Air Pump is enabled, we must handle the increase in venous pressure without triggering the alarm. We increase the - // venous high limit while the air pump is on + 1s for the pressure to stabilize once the pump is off. - if ( AIR_PUMP_STATE_ON == getAirPumpState() ) - { - venHighLimit = (F32)getS32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT ) + VENOUS_OFFSET_WITH_AIRPUMP_MMHG; - airPumpOpenToleranceTimer = getMSTimerCount(); - } - - else // air pump is off. - { - - if ( airPumpOpenToleranceTimer > 0 ) - { - venHighLimit = (F32)getS32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT ) + VENOUS_OFFSET_WITH_AIRPUMP_MMHG; - - if ( TRUE == didTimeout( airPumpOpenToleranceTimer, AIR_PUMP_TOLERANCE_TIMEOUT_MS ) ) - { - venHighLimit = (F32)getS32TreatmentParamUpperRangeLimit( TREATMENT_PARAM_VEN_PRESSURE_HIGH_LIMIT ); - airPumpOpenToleranceTimer = 0; - } - } - - } - } - // Cannot monitor for low venous pressure while venting air trap if ( getValveAirTrapStatus() != STATE_OPEN ) {