mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Merge branch 'fix_pulse_kbl_on_on_boot' into 'master'
KBL/UW: Fix immediate brightness value not set to 0 on init See merge request tuxedocomputers/development/packages/tuxedo-keyboard!54
This commit is contained in:
commit
61928db993
|
@ -72,7 +72,7 @@ static int uniwill_write_kbd_bl_white(u8 brightness)
|
||||||
// value for some reason.
|
// value for some reason.
|
||||||
// Sidenote: IBP Gen6/7 has immediate brightness value on 0x1802 and not on 0x1808, but does
|
// Sidenote: IBP Gen6/7 has immediate brightness value on 0x1802 and not on 0x1808, but does
|
||||||
// not need this workaround.
|
// not need this workaround.
|
||||||
if (!data) {
|
if (!data && brightness) {
|
||||||
uniwill_write_ec_ram(UW_EC_REG_KBD_BL_RGB_BLUE_BRIGHTNESS, 0x01);
|
uniwill_write_ec_ram(UW_EC_REG_KBD_BL_RGB_BLUE_BRIGHTNESS, 0x01);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue