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