mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
X3バックライト対応その1:とりあえずランチャー起動時にはX2以前のみLCFGの値に従って輝度設定するよう変更
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@817 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
a363914ca5
commit
3b2442607c
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include <twl.h>
|
#include <twl.h>
|
||||||
#include <sysmenu.h>
|
#include <sysmenu.h>
|
||||||
|
#include <sysmenu/mcu.h>
|
||||||
#include "internal_api.h"
|
#include "internal_api.h"
|
||||||
|
|
||||||
// define data-----------------------------------------------------------------
|
// define data-----------------------------------------------------------------
|
||||||
@ -189,7 +190,13 @@ TitleProperty *SYSM_ReadParameters( void )
|
|||||||
// 各種デバイス設定
|
// 各種デバイス設定
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
// バックライト輝度設定
|
// バックライト輝度設定
|
||||||
SYSM_SetBackLightBrightness( brightness );
|
#ifdef SDK_SUPPORT_PMIC_2
|
||||||
|
if ( SYSMi_GetMcuVersion() <= 1 )
|
||||||
|
{
|
||||||
|
// X2ボード以前だけ輝度設定する
|
||||||
|
SYSM_SetBackLightBrightness( brightness );
|
||||||
|
}
|
||||||
|
#endif // SDK_SUPPORT_PMIC_2
|
||||||
// RTC補正
|
// RTC補正
|
||||||
SYSMi_WriteAdjustRTC();
|
SYSMi_WriteAdjustRTC();
|
||||||
// RTC値のチェック
|
// RTC値のチェック
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user