Index: firmware/App/Modes/ModeFault.c =================================================================== diff -u -r3518e8a088c32e75c0c8960d5e629a7401095feb -r961784c895cb8f551a2623cd02dcbfe42d04b7c2 --- firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision 3518e8a088c32e75c0c8960d5e629a7401095feb) +++ firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision 961784c895cb8f551a2623cd02dcbfe42d04b7c2) @@ -27,8 +27,8 @@ // ********** private data ********** -static HD_FAULT_STATE_T faultState; ///< Currently active fault state. -static SELF_TEST_STATUS_T faultPOSTSelfTestResult; ///< Fault POST self test result. +static HD_FAULT_STATE_T faultState; ///< Currently active fault state. +static SELF_TEST_STATUS_T faultPOSTSelfTestResult; ///< Fault POST self test result. // ********** private function prototypes ********** @@ -88,11 +88,6 @@ // sendTreatmentLogDataToUI(); } - // Release RTC in case the RTC semaphore was not released prior to transitioning to fault mode. - // In fault mode, the non-volatile data mgmt POST might be run again so the RTC has to be available. Also, - // the RTC time is read every second which requires the semaphore. - releaseSemaphore( SEMAPHORE_RTC ); - return faultState; } @@ -114,8 +109,8 @@ // Ensure all valves are in safe position // setValveAirTrap( STATE_CLOSED ); -// setValvePosition( VBA, VALVE_POSITION_C_CLOSE ); -// setValvePosition( VBV, VALVE_POSITION_C_CLOSE ); +// setValvePosition( H1_VALV, VALVE_POSITION_C_CLOSE ); +// setValvePosition( H19, VALVE_POSITION_C_CLOSE ); // If DG not stopped, stop it // if ( DG_MODE_GENE == dgOperationMode )