Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -r14be978c00cef299cf67b515117b689de6cef353 -r9c7ade2642aff120bb84c8fe51fc7b18759dc6c8 --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 14be978c00cef299cf67b515117b689de6cef353) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 9c7ade2642aff120bb84c8fe51fc7b18759dc6c8) @@ -128,8 +128,8 @@ /// Measured venous pressure is filtered w/ 1 second moving average for inline pressure and unfiltered for occlusion detection. #define SIZE_OF_SHORT_VEN_ROLLING_AVG ( ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) * 1 ) -/// Measured blood pump occlusion is filtered w/ 30 second moving average for partial occlusions check. -#define SIZE_OF_BLOODPUMP_OCCL_ROLLING_AVG ( ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) * 30 ) +/// Measured blood pump occlusion is filtered w/ 10 second moving average for partial occlusions check. +#define SIZE_OF_BLOODPUMP_OCCL_ROLLING_AVG ( ( MS_PER_SECOND / TASK_GENERAL_INTERVAL ) * 10 ) #define DATA_PUBLISH_COUNTER_START_COUNT 5 ///< Data publish counter start count. #define SHIFT_14_BITS 14 ///< Shift 14 bits. @@ -416,7 +416,7 @@ * The setOcclusionBaselineDuringTreatement function sets the partial occlusion sensor level * during treatment. This function called at start of treatment, periodic interval during * treatment. - * @details Inputs: bloodPumpOcclusion + * @details Inputs: filteredBloodPumpOccl * @details Outputs: bloodPumpOcclusionDuringTreatement * @return none *************************************************************************/