mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
LCD onとoffが同時に来た際、仕様と異なりonが優先になっていなかった。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@63 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
6b8fdabe9b
commit
0e06910a85
@ -159,6 +159,10 @@ task_status_immed do_command( )
|
||||
{
|
||||
PM_LCD_on();
|
||||
}
|
||||
else if(( vreg_ctr[VREG_C_COMMAND2] & REG_BIT_CMD_LCD_OFF ) != 0 )
|
||||
{
|
||||
PM_LCD_off();
|
||||
}
|
||||
|
||||
// バックライトの個別on/off
|
||||
if(( vreg_ctr[VREG_C_COMMAND2] & REG_BITS_CMD_BL ) != 0 )
|
||||
@ -166,10 +170,6 @@ task_status_immed do_command( )
|
||||
PM_BL_set( vreg_ctr[VREG_C_COMMAND2] & REG_BITS_CMD_BL );
|
||||
}
|
||||
|
||||
if(( vreg_ctr[VREG_C_COMMAND2] & REG_BIT_CMD_LCD_OFF ) != 0 )
|
||||
{
|
||||
PM_LCD_off();
|
||||
}
|
||||
vreg_ctr[VREG_C_COMMAND0] = 0;
|
||||
vreg_ctr[VREG_C_COMMAND2] = 0;
|
||||
return ( ERR_FINISED );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user