mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 06:14:12 +08:00
lr还是不能用,切换xy试试
This commit is contained in:
parent
692be90179
commit
bf184e29b7
@ -158,12 +158,12 @@ static atp_pageopt_t config_adjust( atp_callerdata_t data, atp_counter_t index,
|
|||||||
if( index == 0 )
|
if( index == 0 )
|
||||||
{
|
{
|
||||||
u8 light = g_oafConfig.backlight;
|
u8 light = g_oafConfig.backlight;
|
||||||
if( l )
|
if( l || x )
|
||||||
{
|
{
|
||||||
light -= 10;
|
light -= 10;
|
||||||
if( light % 10 ) light = light + (10-light%10);
|
if( light % 10 ) light = light + (10-light%10);
|
||||||
}
|
}
|
||||||
else if( r )
|
else if( r || y )
|
||||||
{
|
{
|
||||||
light += 10;
|
light += 10;
|
||||||
if( light % 10 ) light = light - light % 10;
|
if( light % 10 ) light = light - light % 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user