Index: Utilities.c =================================================================== diff -u -r7574a250df6c0a773344ccafb62431c22930f6a3 -r9113cdc88dd46633aaac47652e93e12396c843bf --- Utilities.c (.../Utilities.c) (revision 7574a250df6c0a773344ccafb62431c22930f6a3) +++ Utilities.c (.../Utilities.c) (revision 9113cdc88dd46633aaac47652e93e12396c843bf) @@ -15,7 +15,8 @@ * ***************************************************************************/ -#include "Common.h" +#include "Common.h" +#include "FPGA.h" #include "Timers.h" #include "Utilities.h" @@ -764,5 +765,26 @@ { return ( TRUE == sempahoreStatus[ s ].isSemaphoreTaken ? FALSE : TRUE ); } + +#ifndef _RELEASE_ +/*********************************************************************//** + * @brief + * The getHardwareConfigStatus function returns the status of the hardware + * configuration. + * @details Inputs: none + * @details Outputs: none + * @return status of the hardware configuration + *************************************************************************/ +HARDWARE_CONFIG_T getHardwareConfigStatus( void ) +{ + HARDWARE_CONFIG_T configValue; + +#ifdef _DG_ + configValue = (HARDWARE_CONFIG_T)getFPGAHWConfiguration(); +#endif + + return configValue; +} +#endif /**@}*/