From: jc_.kim Date: Mon, 26 Dec 2016 01:55:22 +0000 (+0900) Subject: Modify printed RTC format for year in board_app_initialize X-Git-Tag: 1.1_Public_Release~683 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F106951%2F1;p=rtos%2Ftinyara.git Modify printed RTC format for year in board_app_initialize RTC year is based on CONFIG_RTC_BASE_YEAR Change-Id: I6b3e805aa57b0f9a8b16fef9e8007a73837600c0 --- diff --git a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c index bd586ac..00abfc5 100644 --- a/os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c +++ b/os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c @@ -170,7 +170,7 @@ int board_app_initialize(void) #if defined(CONFIG_RTC) && defined(CONFIG_RTC_DRIVER) && defined(CONFIG_S5J_RTC) up_rtc_getdatetime(&tp); - lldbg("RTC getdatetime 20%d/%d/%d/%d/%d/%d\n", tp.tm_year, tp.tm_mon + 1, tp.tm_mday, tp.tm_hour, tp.tm_min, tp.tm_sec); + lldbg("RTC getdatetime %d/%d/%d/%d/%d/%d\n", tp.tm_year + CONFIG_RTC_BASE_YEAR, tp.tm_mon + 1, tp.tm_mday, tp.tm_hour, tp.tm_min, tp.tm_sec); lldbg("Version Info :\n"); lldbg("tinyARA %s\n", __TIMESTAMP__); #endif