Index: firmware/App/Controllers/AirTrap.c =================================================================== diff -u -r725361ce81c772e8de31e45798aa447d85281785 -rb8fe353893a8fec3aa371aac7bb58a2e3b7daa86 --- firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision 725361ce81c772e8de31e45798aa447d85281785) +++ firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision b8fe353893a8fec3aa371aac7bb58a2e3b7daa86) @@ -46,7 +46,6 @@ //#define AIR_PUMP_ON_ERROR_MAX_CNT 6 ///< Maximum number of air pump on events within time window before alarm triggered. Do not exceed MAX_TIME_WINDOWED_COUNT. //#define AIR_PUMP_ON_ERROR_TIME_WIN_MS ( 60 * MS_PER_SECOND ) ///< Time window for Air Pump on count error. #define AIR_TRAP_ILLEGAL_LEVELS_TIMEOUT_MS ( 2 * MS_PER_SECOND ) ///< Air trap illegal values timeout (in ms) -//#define VENOUS_LINE_VOLUME_ML ( 200.0F ) ///< Volume (in mL) of venous portion of blood circuit line. TODO - get actual volume from Systems. #define DATA_PUBLISH_COUNTER_START_COUNT 7 ///< Data publish counter start count. /// Air pump on delay after fill adjustment @@ -227,7 +226,7 @@ readAirTrapLevelSensors(); // Check for illegal levels alarm - // TODO:to change later the blood set installed status + // TODO:to change later the blood set installed status if ( STATE_CLOSED == getSwitchState( H9_SWCH ) ) // determine whether a blood set is installed - if not installed, do not trigger illegal levels alarm { // If the pump track on open, zero the persistent counter to not check the air trap illegal level alarm @@ -286,7 +285,7 @@ #endif { #ifndef TEST_UI_ONLY - activateAlarmNoData( ALARM_ID_TD_AIR_TRAP_LEVEL_HIGH ); + activateAlarmNoData( ALARM_ID_TD_AIR_TRAP_LOWER_TIMEOUT ); #endif } }