mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 11:17:11 +02:00
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:
parent
815a6f3444
commit
276b3dca42
2 changed files with 3 additions and 3 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue