/* This function is used to start calculating elapsed time.  */
void tls_watchdog_start_cal_elapsed_time(void)
/* This function is used to start calculating elapsed time.  */
void tls_watchdog_start_cal_elapsed_time(void)
{
	if (wdg_enable)
	{
	    wdg_jumpclear_flag = 1;
	    __tls_watchdog_deinit();
    	__tls_watchdog_init(WDG_LOAD_VALUE_MAX);
	}
	else
	{
		wdg_jumpclear_flag = 2;
		__tls_watchdog_init(WDG_LOAD_VALUE_MAX);
	}
}