BL on on off off 全部立てると、液晶電源を切ってしまっていた

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
This commit is contained in:
fujita_ryohei 2009-12-15 11:58:45 +00:00
parent 0e06910a85
commit 28c7c8521c

View File

@ -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 ){