Index: firmware/App/Modes/ModeFault.c =================================================================== diff -u -r3518e8a088c32e75c0c8960d5e629a7401095feb -rd9550bb105d13131646ff75859de549b51af6abe --- firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision 3518e8a088c32e75c0c8960d5e629a7401095feb) +++ firmware/App/Modes/ModeFault.c (.../ModeFault.c) (revision d9550bb105d13131646ff75859de549b51af6abe) @@ -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; }