Index: firmware/App/Services/FPGA.c =================================================================== diff -u -rd9b4581350e00e87b211b0c81f8c34f02576fcf2 -ra9368b25cce2a179c56b1609b735178b286bb03d --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision d9b4581350e00e87b211b0c81f8c34f02576fcf2) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision a9368b25cce2a179c56b1609b735178b286bb03d) @@ -2341,18 +2341,22 @@ return ( fpgaSensorReadings.fpgaGPIO & PUMP_TRACK_SWITCH_MASK ); } +#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 #ifdef DEBUG_ENABLED /*********************************************************************//**