mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
PMIC_FINAL対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@604 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
460a27ae07
commit
14dadacc65
@ -41,8 +41,12 @@ void TwlSpMain( void )
|
||||
OS_EnableIrq();
|
||||
|
||||
PM_InitFIRM();
|
||||
#ifndef PMIC_FINAL
|
||||
PMi_SetParams( REG_PMIC_BL_BRT_A_ADDR, PMIC_BACKLIGHT_BRIGHT_DEFAULT, PMIC_BL_BRT_A_MASK );
|
||||
PMi_SetParams( REG_PMIC_BL_BRT_B_ADDR, PMIC_BACKLIGHT_BRIGHT_DEFAULT, PMIC_BL_BRT_B_MASK );
|
||||
#else
|
||||
MCUi_WriteRegister( MCU_REG_BL_ADDR, MCU_REG_BL_BRIGHTNESS_MASK );
|
||||
#endif
|
||||
PM_BackLightOn( TRUE );
|
||||
|
||||
// ボタンが押されるまで待つ
|
||||
|
||||
Loading…
Reference in New Issue
Block a user