Index: RTC.c =================================================================== diff -u -ra9b547ec4b0122c3f405d25c372542267119b117 -rb5a078a245783d10796592bd7e96ff36a5fb5a03 --- RTC.c (.../RTC.c) (revision a9b547ec4b0122c3f405d25c372542267119b117) +++ RTC.c (.../RTC.c) (revision b5a078a245783d10796592bd7e96ff36a5fb5a03) @@ -1110,14 +1110,12 @@ { RTC_EXEC_STATE_T result = RTC_EXEC_STATE_WAIT_FOR_POST; -#ifndef DONT_SKIP_NV_POST if ( RTCSelfTestState == RTC_SELF_TEST_STATE_COMPLETE ) { - result = RTC_EXEC_STATE_IDLE; + // After POST is finished, first read the current time so there is one time stamp + // available in the memory + result = RTC_EXEC_STATE_READ; } -#else - result = RTC_EXEC_STATE_IDLE; -#endif return result; }