Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -rbed5628ca08f486b9193d2bc4a73cb2ad4bd7b79 -r46b16ef94cea2d5db25bfee08457686bc440de23 --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision bed5628ca08f486b9193d2bc4a73cb2ad4bd7b79) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 46b16ef94cea2d5db25bfee08457686bc440de23) @@ -417,7 +417,7 @@ U16 artPres = fpgaArtPres & 0x3FFF; U08 artPresStatus = (U08)( fpgaArtPres >> SHIFT_14_BITS ); - checkFPGAPersistentAlarms( FPGA_PERS_ERROR_ARTERIAL_PRESSURE_SENSOR, artErrorCtr, artReadCtr ); + checkFPGAPersistentAlarms( FPGA_PERS_ERROR_ARTERIAL_PRESSURE_SENSOR, artReadCtr ); //checkFPGAPersistentAlarms( FPGA_PERS_ERROR_VENOUS_PRESSURE_SESNOR, venReadCtr, venReadCtr ); // TODO investigate this with Noe if ( ARTERIAL_PRESSURE_NORMAL_OP == artPresStatus ) @@ -452,7 +452,7 @@ U08 bpReadCtr = getFPGABloodPumpOcclusionReadCounter(); U08 bpErrorCtr = getFPGABloodPumpOcclusionErrorCounter(); - checkFPGAPersistentAlarms( FPGA_PERS_ERROR_OCCLUSION_PRESSURE_SENSOR, bpErrorCtr, bpReadCtr ); + checkFPGAPersistentAlarms( FPGA_PERS_ERROR_OCCLUSION_PRESSURE_SENSOR, bpReadCtr ); // Record occlusion sensor readings bloodPumpOcclusion.data = (U32)getFPGABloodPumpOcclusion();