Index: RTC.c =================================================================== diff -u -r2c508d911fedf7fea1a081f449070aeed248b85c -r7634c10bca36cad0bb75cebaa0af802296a23f3a --- RTC.c (.../RTC.c) (revision 2c508d911fedf7fea1a081f449070aeed248b85c) +++ RTC.c (.../RTC.c) (revision 7634c10bca36cad0bb75cebaa0af802296a23f3a) @@ -469,6 +469,18 @@ return lastEpochTime; } +/*********************************************************************//** + * @brief + * The resetRTCPOSTState resets the RTC POST state to start. + * @details Inputs: none + * @details Outputs: RTCSelfTestState + * @return none + *************************************************************************/ +void resetRTCPOSTState( void ) +{ + RTCSelfTestState = RTC_SELF_TEST_STATE_START; +} + #ifdef _DG_ /*********************************************************************//** * @brief @@ -1529,7 +1541,7 @@ * The handleSelfTestCheckRTCYear checks whether the year that has been set * in RTC is greater than 2021 or not. * @details Inputs: RTCSelfTestTimer - * Outputs : RTCSelfTestResult + * @details Outputs: RTCSelfTestResult * @return next state *************************************************************************/ static RTC_SELF_TEST_STATE_T handleSelfTestCheckRTCYear( void )