summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/software_neo2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-07-06 18:48:02 +1000
committerGitHub <noreply@github.com>2023-07-06 09:48:02 +0100
commit87b11345a55d076966846d87b60d0f315b8bb984 (patch)
treea64503358d5f30b55a722b882eebaf1b60b03e1f /layouts/community/ergodox/software_neo2
parent928e03e8d669cb35a96c2aa4a09012c527b27892 (diff)
Get rid of `USB_LED_CAPS_LOCK` (#21436)
Diffstat (limited to 'layouts/community/ergodox/software_neo2')
-rw-r--r--layouts/community/ergodox/software_neo2/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/community/ergodox/software_neo2/keymap.c b/layouts/community/ergodox/software_neo2/keymap.c
index c191a034f2..1c68a68b0f 100644
--- a/layouts/community/ergodox/software_neo2/keymap.c
+++ b/layouts/community/ergodox/software_neo2/keymap.c
@@ -106,7 +106,7 @@ void matrix_scan_user(void) {
ergodox_right_led_3_off();
ergodox_board_led_off();
- if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) {
+ if (host_keyboard_led_state().caps_lock) {
ergodox_right_led_3_on();
}