Index: firmware/App/Controllers/AirTrap.c =================================================================== diff -u -rdba0155ba6025beaaba0c55afb36fa1258ca4fb2 -ref8f8acf97c6dff4b1f4be470a57940eeda8d5fb --- firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision dba0155ba6025beaaba0c55afb36fa1258ca4fb2) +++ firmware/App/Controllers/AirTrap.c (.../AirTrap.c) (revision ef8f8acf97c6dff4b1f4be470a57940eeda8d5fb) @@ -39,7 +39,7 @@ #define AIR_TRAP_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the air trap data is published on the CAN bus. #define AIR_TRAP_FILL_TIMEOUT_MS ( 10 * MS_PER_SECOND ) ///< Air trap fill timeout period (in ms). #define AIR_PUMP_ON_DELAY_TIME_MS ( 10 * MS_PER_SECOND ) ///< Delay between air pump On (in ms). -#define AIR_PUMP_ON_STOP_TIME_MS 400 ///< Stop air Pump irrespective of air trap level. +#define AIR_PUMP_ON_STOP_TIME_MS 400 ///< Stop air Pump after defined time. #define AIR_PUMP_UPPER_LEVEL_PERSISTENCE ( 100 / TASK_GENERAL_INTERVAL ) ///< Persistence time for air pump operation after air trap upper level reads air. #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. @@ -79,7 +79,7 @@ static U32 fillStartTime = 0; ///< Time stamp for start of air trap fill. static U32 airPumpOnDelayStartTime = 0; ///< Air pump On start time. -static U32 stopAirPumpStartTime = 0; ///< Stop air pump after defined time irrespective of air trap levels. +static U32 stopAirPumpStartTime = 0; ///< Stop air pump start time. static BOOL airTrapValveOpenAtStablePressureState = FALSE; ///< Periodic AirTrap fill during pressure stable state, to clear any accumulated bubbles