summaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/kitten_paw/keymaps/ickerwx
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-12-14 11:14:10 +0000
committerGitHub <noreply@github.com>2022-12-14 11:14:10 +0000
commit1124bbc1db8fb26418bded7016c702de469b162f (patch)
tree6486fdf3ddcd39355af2a94b8998e57dc1d239cc /keyboards/bpiphany/kitten_paw/keymaps/ickerwx
parent0fcf481cdd2a350b628462201b0a725df6c72b2b (diff)
Remove deprecated led_set_kb (#19273)
* Remove led_set_kb maintaining existing led_set_user behaviour * Also call led_set_user
Diffstat (limited to 'keyboards/bpiphany/kitten_paw/keymaps/ickerwx')
-rw-r--r--keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c b/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
index 3f858734c9..7d4c53c61f 100644
--- a/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
+++ b/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
@@ -95,13 +95,13 @@ void matrix_scan_user(void) {
current_layer_global = layer;
// unset CAPSLOCK and SCROLL LOCK LEDs
- led_set_kb(host_keyboard_leds() & ~(1<<USB_LED_CAPS_LOCK));
- led_set_kb(host_keyboard_leds() & ~(1<<USB_LED_SCROLL_LOCK));
+ led_set(host_keyboard_leds() & ~(1<<USB_LED_CAPS_LOCK));
+ led_set(host_keyboard_leds() & ~(1<<USB_LED_SCROLL_LOCK));
// set SCROLL LOCK LED when the mouse layer is active, CAPS LOCK when PROG layer is active
if (layer == MOUSE1 || layer == MOUSE2) {
- led_set_kb(host_keyboard_leds() | (1<<USB_LED_SCROLL_LOCK));
+ led_set(host_keyboard_leds() | (1<<USB_LED_SCROLL_LOCK));
} else if (layer == PROG1 || layer == PROG2) {
- led_set_kb(host_keyboard_leds() | (1<<USB_LED_CAPS_LOCK));
+ led_set(host_keyboard_leds() | (1<<USB_LED_CAPS_LOCK));
}
}
}