projects
/
rtos
/
tinyara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc385d
)
Modify printed RTC format for year in board_app_initialize
51/106951/1
author
jc_.kim
<jc_.kim@samsung.com>
Mon, 26 Dec 2016 01:55:22 +0000
(10:55 +0900)
committer
jc_.kim
<jc_.kim@samsung.com>
Mon, 26 Dec 2016 01:55:22 +0000
(10:55 +0900)
RTC year is based on CONFIG_RTC_BASE_YEAR
Change-Id: I6b3e805aa57b0f9a8b16fef9e8007a73837600c0
os/arch/arm/src/sidk_s5jt200/src/s5jt200_tash.c
patch
|
blob
|
history
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
(file)
--- 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