diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 0ba7707..fe56a47 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -173,7 +173,7 @@ static void uniwill_write_kbd_bl_enable(u8 enable) __uniwill_wmi_ec_read(0x8c, 0x07, ®_read_return); write_value = reg_read_return.bytes.data_low & ~(1 << 1); write_value |= (!enable << 1); - __uniwill_wmi_ec_write(0x8c, 0x07, write_value, reg_read_return.bytes.data_high, ®_write_return); + __uniwill_wmi_ec_write(0x8c, 0x07, write_value, 0x00, ®_write_return); } else { TUXEDO_DEBUG("tuxedo-cc-wmi symbols not found\n"); }