Index: firmware/App/Services/FPGA.c =================================================================== diff -u -ra726311564521affd46cbbaf129bdffb22e1d58f -r7e2931d9a468ca3b6e1f2bb88ef0910960dfdb29 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision a726311564521affd46cbbaf129bdffb22e1d58f) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 7e2931d9a468ca3b6e1f2bb88ef0910960dfdb29) @@ -936,7 +936,7 @@ /*********************************************************************//** * @brief * The setFPGACPoProbeType function sets the CPo sensor probe type and - * sets the control register to write probte type to the device. + * sets the control register to write probe type to the device. * @details Inputs: none * @details Outputs: fpgaActuatorSetPoints.fpgaCPoProbeType, fpgaActuatorSetPoints.fpgaCPoControlReg * @param probeType The probe cell constant value to set to @@ -950,6 +950,21 @@ /*********************************************************************//** * @brief + * The setFPGACPiProbeType function sets the CPi sensor probe type and + * sets the control register to write probe type to the device. + * @details Inputs: none + * @details Outputs: fpgaActuatorSetPoints.fpgaCPiProbeType, fpgaActuatorSetPoints.fpgaCPiControlReg + * @param probeType The probe cell constant value to set to + * @return none + *************************************************************************/ +void setFPGACPiProbeType( U16 probeType ) +{ + fpgaActuatorSetPoints.fpgaCPiProbeType = probeType; + fpgaActuatorSetPoints.fpgaCPiControlReg = 0x1; +} + +/*********************************************************************//** + * @brief * The setFPGACP1Control function sets the control configuration for * concentrate pump CP1. * @details Inputs: none