summaryrefslogtreecommitdiff
path: root/keyboards/neson_design/700e/700e.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/neson_design/700e/700e.c')
-rw-r--r--keyboards/neson_design/700e/700e.c2
1 files changed, 1 insertions, 1 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;