Index: firmware/App/Monitors/Pressures.c =================================================================== diff -u -r961784c895cb8f551a2623cd02dcbfe42d04b7c2 -r285b5d82539c96524c93703d52a66fff76fb64fc --- firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision 961784c895cb8f551a2623cd02dcbfe42d04b7c2) +++ firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision 285b5d82539c96524c93703d52a66fff76fb64fc) @@ -747,10 +747,10 @@ static void checkVenousPressureInRange( void ) { F32 venPres = getFilteredVenousPressure(); - OPN_CLS_STATE_T airTrapValveState = STATE_CLOSED; //getValveAirTrapStatus(); + VALVE_3WAY_STATE_T airTrapValveState = VALVE_3WAY_COMMON_TO_CLOSED_STATE; //getValveAirTrapStatus(); // track time since last air trap fill - if ( ( STATE_OPEN == airTrapValveState ) && ( TRUE == resetFillExemptPeriod ) ) + if ( ( VALVE_3WAY_COMMON_TO_OPEN_STATE == airTrapValveState ) && ( TRUE == resetFillExemptPeriod ) ) { venLowPresExemptAfterAirTrapFillTimerCtr = 0; resetFillExemptPeriod = FALSE; @@ -801,7 +801,7 @@ } } // during reset period, if airTrapValve open, still alarm needs to be raised , hence persistence clearance should happen before or after reset period. - if ( ( airTrapValveState == STATE_OPEN ) && + if ( ( airTrapValveState == VALVE_3WAY_COMMON_TO_OPEN_STATE ) && ( ( venLowPresExemptAfterAirTrapFillTimerCtr < exemptPeriod ) || ( venLowPresExemptAfterAirTrapFillTimerCtr > minimumMonitoringWindow ) ) ) {