继续测试l/r不可用的原因

This commit is contained in:
anod 2022-10-17 14:18:46 +08:00
parent 3b2e3009d3
commit 08c1878867
2 changed files with 2 additions and 1 deletions

View File

@ -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:
;

View File

@ -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;