fix kbd_led_state initialization

This commit is contained in:
Richard Sailer 2019-08-19 05:55:41 +02:00
parent 42e5c40f93
commit 338023dc98

View file

@ -168,7 +168,7 @@ MODULE_PARM_DESC(state,
static struct kbd_led_state_t kbd_led_state = { static struct kbd_led_state_t kbd_led_state = {
.has_extra = 0, .has_extra = 0,
.state = 1, .enabled = 1,
.color = { .color = {
.left = KB_COLOR_DEFAULT, .center = KB_COLOR_DEFAULT, .left = KB_COLOR_DEFAULT, .center = KB_COLOR_DEFAULT,
.right = KB_COLOR_DEFAULT, .extra = KB_COLOR_DEFAULT .right = KB_COLOR_DEFAULT, .extra = KB_COLOR_DEFAULT