Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r494fa9614f7ec4cb0f677763c499044336ea8214 -r47eb930c3f010b7933ddf1b5d2d9f1a95be90c58 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 494fa9614f7ec4cb0f677763c499044336ea8214) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 47eb930c3f010b7933ddf1b5d2d9f1a95be90c58) @@ -1532,7 +1532,7 @@ *************************************************************************/ void setFPGABloodLeakZero( void ) { - fpgaActuatorSetPoints.fpgaSensorTest = FPGA_BLOOD_LEAK_ZERO_CMD; + fpgaActuatorSetPoints.fpgaSensorTest |= FPGA_BLOOD_LEAK_ZERO_CMD; } /*********************************************************************//** @@ -1545,7 +1545,7 @@ *************************************************************************/ void clearFPGABloodLeakZero( void ) { - fpgaActuatorSetPoints.fpgaSensorTest = 0x00; + fpgaActuatorSetPoints.fpgaSensorTest &= ~FPGA_BLOOD_LEAK_ZERO_CMD; } /*********************************************************************//** @@ -1558,7 +1558,7 @@ *************************************************************************/ void setFPGABloodLeakSelfTest( void ) { - fpgaActuatorSetPoints.fpgaSensorTest = FPGA_BLOOD_LEAK_SELF_TEST_CMD; + fpgaActuatorSetPoints.fpgaSensorTest |= FPGA_BLOOD_LEAK_SELF_TEST_CMD; } /*********************************************************************//** @@ -1571,7 +1571,7 @@ *************************************************************************/ void clearFPGABloodLeakSelfTest( void ) { - fpgaActuatorSetPoints.fpgaSensorTest = 0x00; + fpgaActuatorSetPoints.fpgaSensorTest &= ~FPGA_BLOOD_LEAK_SELF_TEST_CMD; } /*********************************************************************//**