Index: firmware/App/Monitors/Pressures.c =================================================================== diff -u -r036a75d76ab01912646a480b935d97187a231a19 -rfe9b77e60850fe37da225d4348f0a6a8defc28db --- firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision 036a75d76ab01912646a480b935d97187a231a19) +++ firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision fe9b77e60850fe37da225d4348f0a6a8defc28db) @@ -88,7 +88,7 @@ #define HIGH_VEN_PRES_ALARM_PERSISTENCE 500 ///< Alarm persistence period for high venous pressure alarm #define PRES_OCCL_ALARM_PERSISTENCE ( 3 * MS_PER_SECOND ) ///< Alarm persistence period for occlusion alarms #define VEN_OCCL_ALARM_PERSISTENCE 100 ///< Alarm persistence period for venous occlusion alarm. -#define AIR_PUMP_TOLERANCE_TIMEOUT_MS (1 * MS_PER_SECOND ) ///< Time to allow increased maximum venous high limit +#define AIR_PUMP_TOLERANCE_TIMEOUT_MS ( 1 * MS_PER_SECOND ) ///< Time to allow increased maximum venous high limit /// Measured arterial pressure is filtered w/ 10 second moving average for pressure compensation of flow. #define SIZE_OF_LONG_ART_ROLLING_AVG ( ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) * 10 ) @@ -542,8 +542,10 @@ determineArtVenPressureLimits(); // Check in-line pressures are in range +#ifndef TEST_NO_PRESSURE_CHECKS checkArterialPressureInRange(); checkVenousPressureInRange(); +#endif return result; } @@ -806,7 +808,9 @@ { if ( TRUE == isPersistentAlarmTriggered( ALARM_ID_TD_VENOUS_PRESSURE_LOW, venPresLow ) ) { +#ifndef TEST_UI_ONLY SET_ALARM_WITH_2_F32_DATA( ALARM_ID_TD_VENOUS_PRESSURE_LOW, venPres, (F32)currentVenousMinLimit ); +#endif } } // during reset period, if airTrapValve open, still alarm needs to be raised , hence persistence clearance should happen before or after reset period.