mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
修正显示亮度数字的问题
This commit is contained in:
parent
8b366c0ad0
commit
97d2df12bb
@ -122,7 +122,7 @@ static KHandle g_frameReadyEvent = 0;
|
|||||||
static atp_error_t config_item( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg )
|
static atp_error_t config_item( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg )
|
||||||
{
|
{
|
||||||
const char *scaler_val[] = {"上屏无缩放", "上屏GPU放大", "上屏DMA放大", "下屏无缩放"};
|
const char *scaler_val[] = {"上屏无缩放", "上屏GPU放大", "上屏DMA放大", "下屏无缩放"};
|
||||||
char buf[32];
|
static char buf[16];
|
||||||
if( index == 0 )
|
if( index == 0 )
|
||||||
{
|
{
|
||||||
ee_snprintf(buf, sizeof(buf), "%d", g_oafConfig.backlight);
|
ee_snprintf(buf, sizeof(buf), "%d", g_oafConfig.backlight);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user