change brightness range
This commit is contained in:
parent
2db886df34
commit
c03b6c36a0
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ Page {
|
|||
Layout.fillHeight: true
|
||||
|
||||
from: 0
|
||||
to: 255
|
||||
to: 50
|
||||
stepSize: 1
|
||||
|
||||
value: backend.displayBrightness.displayBrightness
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LedDisplayController *ledDisplayControllerGlobal = nullptr;
|
||||
|
||||
static const uint8_t StepsFade = 255;
|
||||
static const uint8_t StepsFade = 50;
|
||||
static const float RFade = (StepsFade*log10(2))/log10(255);
|
||||
|
||||
// --------------------
|
||||
|
|
Loading…
Reference in a new issue