summaryrefslogtreecommitdiff
path: root/users/tominabox1
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 /users/tominabox1
parentd5e622b979c54ddc8f9ad97116c302e29c6aed12 (diff)
Remove `IS_HOST_LED_ON` and migrate usages (#19753)
Diffstat (limited to 'users/tominabox1')
-rw-r--r--users/tominabox1/tominabox1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/tominabox1/tominabox1.c b/users/tominabox1/tominabox1.c
index 4344e06a1f..44f4c7795c 100644
--- a/users/tominabox1/tominabox1.c
+++ b/users/tominabox1/tominabox1.c
@@ -257,7 +257,7 @@ void render_status_main(void) {
// Host Keyboard LED Status
- oled_write_ln_P(IS_HOST_LED_ON(USB_LED_CAPS_LOCK) ? PSTR("Caps Lock\n") : PSTR(" \n"), false);
+ oled_write_ln_P(host_keyboard_led_state().caps_lock ? PSTR("Caps Lock\n") : PSTR(" \n"), false);
}
__attribute__ ((weak))
void oled_task_keymap(void) {}