change default value of display luminance/contrast to 140.

The previous value 60 is way too low and seems to stem from times where it was interpreted as % instead of now 0-255
This commit is contained in:
you69man 2024-01-17 20:26:39 +01:00
parent 815a6f3444
commit 276b3dca42
2 changed files with 3 additions and 3 deletions

View file

@ -600,7 +600,7 @@ class Web {
mConfig->plugin.display.rot = request->arg("disp_rot").toInt();
mConfig->plugin.display.type = request->arg("disp_typ").toInt();
mConfig->plugin.display.contrast = (mConfig->plugin.display.type == 0) || // contrast available only according optionsMap in setup.html, otherwise default value
(mConfig->plugin.display.type == 10) ? 60 : request->arg("disp_cont").toInt();
(mConfig->plugin.display.type == 10) ? 140 : request->arg("disp_cont").toInt();
mConfig->plugin.display.screenSaver = ((mConfig->plugin.display.type == 1) || // screensaver available only according optionsMap in setup.html, otherwise default value
(mConfig->plugin.display.type == 2) ||
(mConfig->plugin.display.type == 4) ||