diff options
Diffstat (limited to 'keyboards/neson_design')
-rw-r--r-- | keyboards/neson_design/700e/700e.c | 2 | ||||
-rw-r--r-- | keyboards/neson_design/n6/n6.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/neson_design/700e/700e.c b/keyboards/neson_design/700e/700e.c index 89c5e84efd..e677193ea6 100644 --- a/keyboards/neson_design/700e/700e.c +++ b/keyboards/neson_design/700e/700e.c @@ -183,7 +183,7 @@ static void self_testing(void) if (rgb_state.duration) { rgb_state.duration--; } else { - if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) { + if (host_keyboard_led_state().caps_lock) { rgb_state.state = CAPS_ALERT; } else { rgb_state.state = NORMAL; diff --git a/keyboards/neson_design/n6/n6.c b/keyboards/neson_design/n6/n6.c index a606e93c8f..45affc1b03 100644 --- a/keyboards/neson_design/n6/n6.c +++ b/keyboards/neson_design/n6/n6.c @@ -187,7 +187,7 @@ static void self_testing(void) if (rgb_state.duration) { rgb_state.duration--; } else { - if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) { + if (host_keyboard_led_state().caps_lock) { rgb_state.state = CAPS_ALERT; } else { rgb_state.state = NORMAL; |