Index: firmware/App/Monitors/Pressures.c =================================================================== diff -u -rb017f10001f67282ab6622e34d629ae2f884cdc9 -rd33f47a25470c9113f10857c720d7548e63e2709 --- firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision b017f10001f67282ab6622e34d629ae2f884cdc9) +++ firmware/App/Monitors/Pressures.c (.../Pressures.c) (revision d33f47a25470c9113f10857c720d7548e63e2709) @@ -1072,7 +1072,7 @@ venPressureReadingsShort[ venPressureReadingsShortIdx ] = venPres; venPressureReadingsShortTotal += venPres; venPressureReadingsShortIdx = INC_WRAP( venPressureReadingsShortIdx, 0, SIZE_OF_SHORT_VEN_ROLLING_AVG - 1 ); - venPressureReadingsShortCount = INC_CAP( artPressureReadingsShortCount, SIZE_OF_SHORT_VEN_ROLLING_AVG ); + venPressureReadingsShortCount = INC_CAP( venPressureReadingsShortCount, SIZE_OF_SHORT_VEN_ROLLING_AVG ); shortFilteredVenousPressure.data = venPressureReadingsShortTotal / (F32)venPressureReadingsShortCount; // Long filter for trans-membrane pressure