From 87b11345a55d076966846d87b60d0f315b8bb984 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Jul 2023 18:48:02 +1000 Subject: Get rid of `USB_LED_CAPS_LOCK` (#21436) --- layouts/community/ergodox/jjerrell/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/community/ergodox/jjerrell') diff --git a/layouts/community/ergodox/jjerrell/keymap.c b/layouts/community/ergodox/jjerrell/keymap.c index 110a8aba63..48572d2de3 100644 --- a/layouts/community/ergodox/jjerrell/keymap.c +++ b/layouts/community/ergodox/jjerrell/keymap.c @@ -94,12 +94,12 @@ layer_state_t layer_state_set_keymap(layer_state_t state) { void matrix_scan_keymap(void) { uint8_t modifiers = get_mods(); - uint8_t led_usb_state = host_keyboard_leds(); + led_t led_state = host_keyboard_led_state(); uint8_t one_shot = get_oneshot_mods(); uint8_t layer_is_workman = layer_state_is(_WORKMAN); if ((modifiers) && (layer_is_workman)) { - if (modifiers & MOD_MASK_SHIFT || led_usb_state & (1<