修正显示亮度数字的问题

This commit is contained in:
anod 2022-10-17 11:59:04 +08:00
parent 8b366c0ad0
commit 97d2df12bb

View File

@ -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 )
{
const char *scaler_val[] = {"上屏无缩放", "上屏GPU放大", "上屏DMA放大", "下屏无缩放"};
char buf[32];
static char buf[16];
if( index == 0 )
{
ee_snprintf(buf, sizeof(buf), "%d", g_oafConfig.backlight);