Index: firmware/App/Controllers/AirTrap.c =================================================================== diff -u -r7398059c2c05ac5098fc5325cff938d20645a69d -rff9c1ff6639463857772152b9339a237e6722184 --- firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision 7398059c2c05ac5098fc5325cff938d20645a69d) +++ firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision ff9c1ff6639463857772152b9339a237e6722184) @@ -404,7 +404,7 @@ ( TRUE == didTimeout( airTrapLowerDelayStartTime, AIR_PUMP_ON_DELAY_TIME_MS ) ) ) { set3WayValveState( H13_VALV, VALVE_3WAY_COMMON_TO_OPEN_STATE ); // open valve H13 to allow air to be pumped into air trap from atmosphere - airTrapAirPumpLowerPowerLevel.data = getCalculatedAirPumpDutyCycle(); + //airTrapAirPumpLowerPowerLevel.data = getCalculatedAirPumpDutyCycle(); setAirPumpState( AIR_PUMP_STATE_ON, getAirPumpLowerPowerLevel() ); airTrapLowerStartTime = getMSTimerCount(); signalInitiatePressureStabilization( USE_SHORT_STABILIZATION_PERIOD ); @@ -421,6 +421,8 @@ set3WayValveState( H20_VALV, VALVE_3WAY_COMMON_TO_OPEN_STATE ); // open valve H20 to allow air to be pumped out of air trap to atmosphere airTrapFillStartTime = getMSTimerCount(); SEND_EVENT_WITH_2_U32_DATA( TD_EVENT_AIR_TRAP_FILL, ON, 0 ); + // get long filtered H14 venous pressure before AP fill event + airTrapAirPumpLowerPowerLevel.data = getCalculatedAirPumpDutyCycle(); result = AIR_TRAP_RAISE_LEVEL_STATE; }