summaryrefslogtreecommitdiff
path: root/keyboards/neson_design
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-06 13:36:09 +1100
committerGitHub <noreply@github.com>2023-02-06 02:36:09 +0000
commitf0618a1d53a50a6ed6a6b050daf31365599bef4b (patch)
tree45ffe5bc929f0815b81816fd648f1a90cfbe5356 /keyboards/neson_design
parentd5e622b979c54ddc8f9ad97116c302e29c6aed12 (diff)
Remove `IS_HOST_LED_ON` and migrate usages (#19753)
Diffstat (limited to 'keyboards/neson_design')
-rw-r--r--keyboards/neson_design/700e/700e.c2
-rw-r--r--keyboards/neson_design/n6/n6.c2
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;