Merge pull request #5707 from s-hadinger/feature/led_gamma_default

Set gamma correction as default behavior, ie "Ledtable 1"
This commit is contained in:
Theo Arends 2019-04-29 18:40:42 +01:00 committed by GitHub
commit 875c33ea19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
* Add command SetOption63 0/1 to disable relay state feedback scan at restart (#5594, #5663)
* Fix TasmotaSerial at 9600 bps solving DFPlayer comms (#5528)
* Fix Shelly 2.5 overtemp
* Set gamma correction as default behavior, ie "Ledtable 1"
* Refactored management of lights, using classes and integers instead of floats.
*
* 6.5.0.8 20190413

View File

@ -860,7 +860,7 @@ void SettingsDefaultSet2(void)
Settings.light_color[i] = 255;
// Settings.pwm_value[i] = 0;
}
// Settings.light_correction = 0;
Settings.light_correction = 1;
Settings.light_dimmer = 10;
// Settings.light_fade = 0;
Settings.light_speed = 1;
@ -1002,7 +1002,7 @@ void SettingsDelta(void)
Settings.light_color[1] = 0;
Settings.light_color[2] = 0;
Settings.light_dimmer = 10;
Settings.light_correction = 0;
Settings.light_correction = 1;
Settings.light_fade = 0;
Settings.light_speed = 1;
Settings.light_scheme = 0;