Brightness: fix flag --brightness-ddcci-sleep

This commit is contained in:
李通洲 committed 2023-10-31 10:09:31 +08:00
1 parent fc3891c913
commit c9ef47271a
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ Bugfixes:
* Don't print display type twice (Display)
* Detect BSSID instead of Wifi MAC address to align with other platforms (Wifi, macOS)
* Remove support of used GPU memory detection, which is not reliable and only supported with `--gpu-force-vulkan`. (GPU)
* Fix flag `--brightness-ddcci-sleep` (Brightness, Linux)
Logos:
* Add Black Mesa
+1 -1
View File
@@ -91,7 +91,7 @@ bool ffParseBrightnessCommandOptions(FFBrightnessOptions* options, const char* k
if (ffOptionParseModuleArgs(key, subKey, value, &options->moduleArgs))
return true;
if (ffStrEqualsIgnCase(key, "ddcci-sleep"))
if (ffStrEqualsIgnCase(subKey, "ddcci-sleep"))
{
options->ddcciSleep = ffOptionParseUInt32(key, value);
return true;