Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -ra7bf3ca23ea37a61000379facae628a31b3ecc59 -r73113d51d6ca20fd4e34d69d241fbb18bb70dc1e --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision a7bf3ca23ea37a61000379facae628a31b3ecc59) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 73113d51d6ca20fd4e34d69d241fbb18bb70dc1e) @@ -15,6 +15,7 @@ * ***************************************************************************/ +#include "Accel.h" #include "CPLD.h" #include "FPGA.h" #include "OperationModes.h" @@ -86,8 +87,6 @@ { case DG_POST_STATE_START: postState = DG_POST_STATE_FPGA; - // FOR TESTING REMOVE - //postState = POST_STATE_TEMPERATURE_SENSORS; break; case DG_POST_STATE_FPGA: @@ -105,6 +104,15 @@ postState = handlePOSTStatus( testStatus ); break; + case DG_POST_STATE_ACCELEROMETER: +#ifndef DISABLE_ACCELS + testStatus = execAccelTest(); +#else + testStatus = SELF_TEST_STATUS_PASSED; +#endif + postState = handlePOSTStatus( testStatus ); + break; + case DG_POST_STATE_WATCHDOG: testStatus = execWatchdogTest(); handlePOSTStatus( testStatus ); // ignoring return value because last test