DisplayServer: revert changes of brightness partially

This commit is contained in:
李通洲
2023-01-09 19:53:41 +08:00
parent 476b0495e0
commit 4cc5f35b04
9 changed files with 19 additions and 119 deletions
+1 -5
View File
@@ -27,9 +27,6 @@ void ffPrintResolution(FFinstance* instance)
if(result->refreshRate > 0)
printf(" @ %iHz", result->refreshRate);
if(result->brightness >= 0)
printf(" (Brightness %d%%)", result->brightness);
putchar('\n');
}
else
@@ -37,8 +34,7 @@ void ffPrintResolution(FFinstance* instance)
ffPrintFormat(instance, FF_RESOLUTION_MODULE_NAME, moduleIndex, &instance->config.resolution, FF_RESOLUTION_NUM_FORMAT_ARGS, (FFformatarg[]) {
{FF_FORMAT_ARG_TYPE_INT, &result->width},
{FF_FORMAT_ARG_TYPE_INT, &result->height},
{FF_FORMAT_ARG_TYPE_INT, &result->refreshRate},
{FF_FORMAT_ARG_TYPE_INT, &result->brightness},
{FF_FORMAT_ARG_TYPE_INT, &result->refreshRate}
});
}
}