summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/software_neo2/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/software_neo2/keymap.c')
-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();
}