Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r9cc543b1c2508280767573e20eddd94e68be1fb5 -r056bb7c3e42a6c56e10ff75f69aa1d7b9e5c8af8 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 9cc543b1c2508280767573e20eddd94e68be1fb5) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 056bb7c3e42a6c56e10ff75f69aa1d7b9e5c8af8) @@ -26,7 +26,7 @@ #include "Ejector.h" //#include "Fans.h" #include "FpgaTD.h" -//#include "Integrity.h" +#include "Integrity.h" #include "Messaging.h" #include "ModeInitPOST.h" //#include "NVDataMgmt.h" @@ -159,7 +159,7 @@ break; case POST_STATE_FW_INTEGRITY: -// testStatus = execIntegrityTest(); + testStatus = execIntegrityTest(); postState = handlePOSTStatus( testStatus ); break; @@ -172,12 +172,12 @@ break; case POST_STATE_WATCHDOG: -// testStatus = execWatchdogTest(); + testStatus = execWatchdogTest(); postState = handlePOSTStatus( testStatus ); break; case POST_STATE_SAFETY_SHUTDOWN: -// testStatus = execSafetyShutdownTest(); + testStatus = execSafetyShutdownTest(); postState = handlePOSTStatus( testStatus ); break; @@ -219,7 +219,7 @@ break; case POST_STATE_ALARM_LAMP: -// testStatus = execAlarmLampTest(); + testStatus = execAlarmLampTest(); postState = handlePOSTStatus( testStatus ); break; @@ -453,7 +453,7 @@ if ( testStatus == SELF_TEST_STATUS_PASSED ) { // Broadcast passed POST result -// sendPOSTTestResult( (HD_POST_STATE_T)((int)postState), TRUE ); + sendPOSTTestResult( (TD_POST_STATE_T)((int)postState), TRUE ); // Move on to next POST test result = (TD_POST_STATE_T)((int)postState + 1); } @@ -462,8 +462,8 @@ // At least one POST has failed tempPOSTPassed = FALSE; // Broadcast failed POST results -// sendPOSTTestResult( (HD_POST_STATE_T)((int)postState), FALSE ); -// sendPOSTFinalResult( FALSE ); + sendPOSTTestResult( (TD_POST_STATE_T)((int)postState), FALSE ); + sendPOSTFinalResult( FALSE ); // Test that failed should have triggered a fault which will request fault mode, so should POST state machine should never see FAILED state and will fault if it does result = POST_STATE_FAILED; }