From a556e989fb271d0016904ddb5fa643a676914840 Mon Sep 17 00:00:00 2001 From: aoki_ryoma Date: Tue, 9 Sep 2008 10:07:35 +0000 Subject: [PATCH] =?UTF-8?q?RTC=20Offset=E3=81=AE=E5=8F=96=E5=BE=97?= =?UTF-8?q?=E3=82=92OS=E9=96=A2=E6=95=B0=E3=81=AB=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=E3=80=82=20TP=E3=82=AD=E3=83=A3=E3=83=AA=E3=83=96=E3=83=AC?= =?UTF-8?q?=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AE=E4=BA=88=E7=B4=84?= =?UTF-8?q?=E9=A0=98=E5=9F=9F=E3=82=82=E5=87=BA=E5=8A=9B=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2455 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/DisplaySystemInformation/ARM9/src/get_hw.c | 6 ++++-- build/tests/DisplaySystemInformation/ARM9/src/get_other.c | 8 +++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build/tests/DisplaySystemInformation/ARM9/src/get_hw.c b/build/tests/DisplaySystemInformation/ARM9/src/get_hw.c index 80ebb4fb..ab1f42df 100644 --- a/build/tests/DisplaySystemInformation/ARM9/src/get_hw.c +++ b/build/tests/DisplaySystemInformation/ARM9/src/get_hw.c @@ -22,9 +22,11 @@ void getNormalHWInfo( void ) { int value; - value = (int) OS_GetOwnerRtcOffset(); - gAllInfo[MENU_NORMAL_HW][NORMAL_HW_RTC_ADJUST].iValue = (int) value; + + value = (int)LCFG_NSD_GetRTCClockAdjust(); + gAllInfo[MENU_NORMAL_HW][NORMAL_HW_RTC_ADJUST].iValue = value; gAllInfo[MENU_NORMAL_HW][NORMAL_HW_RTC_ADJUST].isNumData = TRUE; + gAllInfo[MENU_NORMAL_HW][NORMAL_HW_RTC_ADJUST].fromLCFG = TRUE; { int i; diff --git a/build/tests/DisplaySystemInformation/ARM9/src/get_other.c b/build/tests/DisplaySystemInformation/ARM9/src/get_other.c index 4fa91786..2b53a7d1 100644 --- a/build/tests/DisplaySystemInformation/ARM9/src/get_other.c +++ b/build/tests/DisplaySystemInformation/ARM9/src/get_other.c @@ -23,11 +23,10 @@ void getOtherInfo( void ) gAllInfo[MENU_OTHER][OTHER_WIRELESS].iValue = value; gAllInfo[MENU_OTHER][OTHER_WIRELESS].str.sjis = s_strEnable[value]; - rtcoffset = LCFG_TSD_GetRTCOffset(); + rtcoffset = OS_GetOwnerRtcOffset(); snprintf( gAllInfo[MENU_OTHER][OTHER_RTC_OFFSET].str.sjis, DISPINFO_BUFSIZE-1, "%016llx", rtcoffset ); gAllInfo[MENU_OTHER][OTHER_RTC_OFFSET].numLines = 2; - gAllInfo[MENU_OTHER][OTHER_RTC_OFFSET].fromLCFG = TRUE; LCFG_TSD_GetTPCalibration( &tpdata ); gAllInfo[MENU_OTHER][OTHER_TP_RAWX1].iValue = tpdata.data.raw_x1; @@ -61,11 +60,10 @@ void getOtherInfo( void ) gAllInfo[MENU_OTHER][OTHER_TP_DY2].iValue = tpdata.data.dy2; gAllInfo[MENU_OTHER][OTHER_TP_DY2].isNumData = TRUE; gAllInfo[MENU_OTHER][OTHER_TP_DY2].fromLCFG = TRUE; -/* + snprintf( gAllInfo[MENU_OTHER][OTHER_TP_RSV].str.sjis, DISPINFO_BUFSIZE, "%016llx", MI_LoadLE64( tpdata.rsv ) ); - gAllInfo[MENU_OTHER][OTHER_TP_RSV].fromLCFG = TRUE; -*/ + gAllInfo[MENU_OTHER][OTHER_TP_RSV].fromLCFG = TRUE; }