Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r9cc543b1c2508280767573e20eddd94e68be1fb5 -r71d7c6359103b2bd22b2317f7d740c954476a34f --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 9cc543b1c2508280767573e20eddd94e68be1fb5) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 71d7c6359103b2bd22b2317f7d740c954476a34f) @@ -7,8 +7,8 @@ * * @file ModeInitPOST.c * -* @author (last) Praneeth Bunne -* @date (last) 22-Apr-2026 +* @author (last) suresh +* @date (last) 03-Aug-2026 * * @author (original) Sean Nash * @date (original) 01-Aug-2024 @@ -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. @@ -197,7 +197,7 @@ postState = handlePOSTStatus( testStatus ); break; - case POST_STATE_PRES_OCCL: + case POST_STATE_PRESSURE: // testStatus = execPresOcclSelfTest(); postState = handlePOSTStatus( testStatus ); break; @@ -228,14 +228,6 @@ postState = handlePOSTStatus( testStatus ); break; - // NOTE: fans self test must be called after temperatures since the - // temperatures must get their calibration first before the fans start monitoring - // for RPM out of range - case POST_STATE_FANS: -// testStatus = execFansSelfTest(); - postState = handlePOSTStatus( testStatus ); - break; - case POST_STATE_STUCK_BUTTON: // testStatus = execStuckButtonTest(); postState = handlePOSTStatus( testStatus ); @@ -379,7 +371,7 @@ *************************************************************************/ void signalDDVersion( DD_VERSIONS_T version ) { - dgVersion = version; + ddVersion = version; } /*********************************************************************//** @@ -391,11 +383,26 @@ *************************************************************************/ DD_VERSIONS_T getDDVersion( void ) { - return dgVersion; + return ddVersion; } /*********************************************************************//** * @brief + * The isDDCompatible function determines whether the DD firmware is + * compatible with the TD firmware. + * @details \b Inputs: ddVersion + * @details \b Outputs: none + * @return TRUE if DD firmware is compatible with TD firmware, FALSE if not. + *************************************************************************/ +BOOL isDDCompatible( void ) +{ + ddVersion = getDDVersion(); + + return ( SW_COMPATIBILITY_REV == ddVersion.compatibilityRev )? TRUE : FALSE; +} + +/*********************************************************************//** + * @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).