From 64a2b7f280fb205820209dfd9fcbc99dd0196372 Mon Sep 17 00:00:00 2001 From: "jc_.kim" Date: Mon, 26 Dec 2016 10:55:22 +0900 Subject: [PATCH] Modify printed RTC format for year in board_app_initialize RTC year is based on CONFIG_RTC_BASE_YEAR Change-Id: I6b3e805aa57b0f9a8b16fef9e8007a73837600c0 --- os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4