Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r6f2991204047ccbceeb5461f7c35af6d8f5dfd0b -r9ad9ebf6570975707b9abfdd7c3445594137e958 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 6f2991204047ccbceeb5461f7c35af6d8f5dfd0b) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 9ad9ebf6570975707b9abfdd7c3445594137e958) @@ -2149,18 +2149,22 @@ return fpgaSensorReadings.fpgaADCVPVN; } +#ifndef _RELEASE_ /*********************************************************************//** * @brief - * The getFPGAHWConfiguration function gets the FPGA hardware configuration - * such as BETA or DVT. - * @details Inputs: fpgaSensorReadings + * The getHardwareConfigStatus function returns the status of the hardware + * configuration. + * @details Inputs: none * @details Outputs: none - * @return hardware configuration + * @return status of the hardware configuration *************************************************************************/ -U08 getFPGAHWConfiguration( void ) +HARDWARE_CONFIG_T getHardwareConfigStatus( void ) { - return fpgaSensorReadings.fpgaHWConfigReg; + HARDWARE_CONFIG_T configValue = (HARDWARE_CONFIG_T)fpgaSensorReadings.fpgaHWConfigReg; + + return configValue; } +#endif /*********************************************************************//** * @brief Index: firmware/App/Services/FPGA.h =================================================================== diff -u -rcff72ec53660ec3ff6775c0508e3c721240ffba2 -r9ad9ebf6570975707b9abfdd7c3445594137e958 --- firmware/App/Services/FPGA.h (.../FPGA.h) (revision cff72ec53660ec3ff6775c0508e3c721240ffba2) +++ firmware/App/Services/FPGA.h (.../FPGA.h) (revision 9ad9ebf6570975707b9abfdd7c3445594137e958) @@ -20,6 +20,7 @@ #include "DGCommon.h" #include "Interrupts.h" +#include "Utilities.h" /** * @defgroup FPGA FPGA @@ -143,7 +144,9 @@ U16 getFPGAInternalVccAuxiliaryVoltage( void ); U16 getFPGAVPVNVoltage( void ); -U08 getFPGAHWConfiguration( void ); +#ifndef _RELEASE_ +HARDWARE_CONFIG_T getHardwareConfigStatus( void ); +#endif //***************** DVT Functions ***************************/ void setFPGAAcidPumpControl( U08 control );