Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r9cc543b1c2508280767573e20eddd94e68be1fb5 -r7a211da92e750bc5e306e897e956487a4303a36b --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 9cc543b1c2508280767573e20eddd94e68be1fb5) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 7a211da92e750bc5e306e897e956487a4303a36b) @@ -69,7 +69,7 @@ static U32 postCompleteDelayTimerCtr; ///< Timer counter for 2 second delay after POST completes and before transitioning to Standbymode. static UI_VERSIONS_T uiVersion = { 0, 0, 0, 0, 0 }; ///< Version and compatibility information reported by UI. -static DD_VERSIONS_T dgVersion = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; ///< Version and compatibility information reported by DG. +static DD_VERSIONS_T ddVersion = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; ///< Version and compatibility information reported by DG. static U32 startPOSTDelayCounter = 0; ///< Start POST delay counter. extern U32 savedResetReasonCode; ///< Saved reset reason code from sys_startup.c. @@ -379,7 +379,7 @@ *************************************************************************/ void signalDDVersion( DD_VERSIONS_T version ) { - dgVersion = version; + ddVersion = version; } /*********************************************************************//** @@ -391,11 +391,24 @@ *************************************************************************/ DD_VERSIONS_T getDDVersion( void ) { - return dgVersion; + return ddVersion; } /*********************************************************************//** * @brief + * The getDDComppatabilitys function returns the DD version information. + * @details \b Inputs: dgVersion + * @details \b Outputs: none + * @return dgVersion + *************************************************************************/ +U32 getDDCompatibility( void ) +{ + ddVersion = getDDVersion(); + return ddVersion.compatibilityRev; +} + +/*********************************************************************//** + * @brief * The isPOSTCompleted function determines whether all HD POST have * been run and completed. If true, call the isPOSTPassed() to see final * result (pass/fail).