Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r2acaf549519854f7e6de1511d541582267f4d1e8 -rf013ac5e5de456c4fa4367884cda6515f2a51642 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 2acaf549519854f7e6de1511d541582267f4d1e8) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision f013ac5e5de456c4fa4367884cda6515f2a51642) @@ -27,6 +27,7 @@ #include "CPLD.h" #include "DialInFlow.h" #include "DialOutFlow.h" +#include "Fans.h" #include "FPGA.h" #include "Integrity.h" #include "ModeInitPOST.h" @@ -38,6 +39,7 @@ #include "SyringePump.h" #include "SystemCommMessages.h" #include "TaskGeneral.h" +#include "Temperatures.h" #include "Valves.h" #include "WatchdogMgmt.h" @@ -243,6 +245,19 @@ postState = handlePOSTStatus( testStatus ); break; + case POST_STATE_TEMPERATURES: + testStatus = execTemperaturesSelfTest(); + 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 );