mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-08 06:44:12 +08:00
继续测试l/r不可用的原因
This commit is contained in:
parent
3b2e3009d3
commit
08c1878867
@ -311,7 +311,7 @@ atp_error_t atp_select( atp_text_t title, atp_counter_t cnt, atp_itemprovider_t
|
||||
case ATP_PAGE_UPDATE:
|
||||
int row = SELECTED_ROW(idx_top, title_len, item_sel);
|
||||
screen_clean_zone( CONTAINER_LEFTTOP_X, CONTAINER_LEFTTOP_Y+FONT_HEIGHT*(row), CONTAINER_RECT_WIDTH, FONT_HEIGHT );
|
||||
//draw_one_option( item_sel, item_sel, row, provider, data );
|
||||
draw_one_option( item_sel, item_sel, row, provider, data );
|
||||
break;
|
||||
default:
|
||||
;
|
||||
|
@ -168,6 +168,7 @@ static atp_pageopt_t config_adjust( atp_callerdata_t data, atp_counter_t index,
|
||||
light += 10;
|
||||
if( light % 10 ) light -= light % 10;
|
||||
}
|
||||
else light -= 1;
|
||||
if( light > LIGHT_MAX ) light = LIGHT_MAX;
|
||||
else if( light < LIGHT_MIN ) light = LIGHT_MIN;
|
||||
g_oafConfig.backlight = light;
|
||||
|
Loading…
x
Reference in New Issue
Block a user