From 28c7c8521c177044d76a7e4e9aa6b9821e69ff97 Mon Sep 17 00:00:00 2001 From: fujita_ryohei Date: Tue, 15 Dec 2009 11:58:45 +0000 Subject: [PATCH] =?UTF-8?q?BL=20on=20on=20off=20off=20=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E7=AB=8B=E3=81=A6=E3=82=8B=E3=81=A8=E3=80=81=E6=B6=B2=E6=99=B6?= =?UTF-8?q?=E9=9B=BB=E6=BA=90=E3=82=92=E5=88=87=E3=81=A3=E3=81=A6=E3=81=97?= =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@64 013db118-44a6-b54f-8bf7-843cb86687b1 --- trunk/pm.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/trunk/pm.c b/trunk/pm.c index 118c6cb..5d0bdc5 100644 --- a/trunk/pm.c +++ b/trunk/pm.c @@ -301,6 +301,7 @@ void PM_LCD_off() IRQ0_ast; } } + #ifdef _PMIC_TWL_ PM_TEG_LCD_dis( 1 ); blset = 0; @@ -359,14 +360,6 @@ err PM_BL_set( u8 dat ) intset |= REG_BIT_BL_L_OFF; } -#ifdef _PMIC_TWL_ - if(( blset != 0x00 ) - && ( ( dat & ( REG_BIT_CMD_BL_U_OFF | REG_BIT_CMD_BL_L_OFF )) == ( REG_BIT_CMD_BL_U_OFF | REG_BIT_CMD_BL_L_OFF )) ) - { - PM_TEG_LCD_dis( 1 ); - } -#endif - // Write iic_mcu_write_a_byte( IIC_SLA_PMIC, PM_REG_ADRS_BL, blset ); if( blset != 0x00 ){