Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -rf054fdd3579dacb03b5b41a363e259949ff63965 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision f054fdd3579dacb03b5b41a363e259949ff63965) @@ -23,6 +23,7 @@ //#include "Buttons.h" #include "Compatible.h" #include "CpldInterface.h" +#include "Ejector.h" //#include "Fans.h" #include "FpgaTD.h" //#include "Integrity.h" @@ -89,17 +90,17 @@ *************************************************************************/ void initInitAndPOSTMode( void ) { - postState = POST_STATE_START; - postCompleted = FALSE; - postPassed = FALSE; - tempPOSTPassed = TRUE; - uiPOSTPassed = FALSE; - dgPOSTPassed = FALSE; - uiPOSTResultReceived = FALSE; - dgPOSTResultReceived = FALSE; - waitForUIPostTimerCtr = 0; - postCompleteDelayTimerCtr = 0; - startPOSTDelayCounter = 0; + postState = POST_STATE_START; + postCompleted = FALSE; + postPassed = FALSE; + tempPOSTPassed = TRUE; + uiPOSTPassed = FALSE; + dgPOSTPassed = FALSE; + uiPOSTResultReceived = FALSE; + dgPOSTResultReceived = FALSE; + waitForUIPostTimerCtr = 0; + postCompleteDelayTimerCtr = 0; + startPOSTDelayCounter = 0; } /*********************************************************************//** @@ -250,6 +251,11 @@ postState = handlePOSTStatus( testStatus ); break; + case POST_STATE_EJECTOR_HOMING: + testStatus = execEjectorHomingTest(); + postState = handlePOSTStatus( testStatus ); + break; + // Should be last POST (and last POST test must be a test that completes in a single call) case POST_STATE_FPGA: // testStatus = execFPGATest();