mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
mcu_C2_0B_1215_3.bin
BLのマスク修正 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@58 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
b1cc45deda
commit
04a82f0f34
BIN
trunk/bin/mcu_C2_0B_1215_3.bin
Normal file
BIN
trunk/bin/mcu_C2_0B_1215_3.bin
Normal file
Binary file not shown.
@ -280,7 +280,7 @@ void PM_LCD_off()
|
||||
PM_BL_set( REG_BIT_CMD_BL_U_OFF | REG_BIT_CMD_BL_L_OFF );
|
||||
vreg_ctr[VREG_C_STATUS] &= 0b10011111;
|
||||
|
||||
if( (( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||
if( (( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||
{
|
||||
vreg_ctr[ VREG_C_IRQ3 ] |= ( ( REG_BIT_BL_U_OFF | REG_BIT_BL_L_OFF ) & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
||||
IRQ0_neg;
|
||||
@ -353,7 +353,7 @@ err PM_BL_set( u8 dat )
|
||||
{
|
||||
u8 tot;
|
||||
|
||||
if( ( intset & vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||
if( ( intset & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] ) != 0 )
|
||||
{
|
||||
vreg_ctr[ VREG_C_IRQ3 ] |= ( intset & ~vreg_ctr[ VREG_C_IRQ_MASK3 ] );
|
||||
IRQ0_neg;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user