summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c')
-rw-r--r--keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c
index b5c8d52d7a..8f2305ed4c 100644
--- a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c
+++ b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c
@@ -35,7 +35,7 @@ static bool last_checked_layer;
static void check_light_layer(layer_state_t state) {
if (IS_LAYER_ON_STATE(state, L_FN)) {
fn_light();
- } else if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
+ } else if (host_keyboard_led_state().caps_lock) {
caps_light();
} else {
restore_light();