From 338023dc98b9fb14b4e7b6b09efa985006ca39cc Mon Sep 17 00:00:00 2001 From: Richard Sailer Date: Mon, 19 Aug 2019 05:55:41 +0200 Subject: [PATCH] fix kbd_led_state initialization --- src/tuxedo_keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index aedfc21..5cceb1f 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -168,7 +168,7 @@ MODULE_PARM_DESC(state, static struct kbd_led_state_t kbd_led_state = { .has_extra = 0, - .state = 1, + .enabled = 1, .color = { .left = KB_COLOR_DEFAULT, .center = KB_COLOR_DEFAULT, .right = KB_COLOR_DEFAULT, .extra = KB_COLOR_DEFAULT