From 63d74b29ca9b220dd9a982eed63c3cc0543b57c3 Mon Sep 17 00:00:00 2001 From: Blake LaFleur Date: Wed, 8 Mar 2023 10:27:22 -0600 Subject: [PATCH] Fix removed LED function per #19753 --- .../gmmk/pro/rev1/ansi/keymaps/blackburn29/rgb_matrix_effects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/gmmk/pro/rev1/ansi/keymaps/blackburn29/rgb_matrix_effects.c b/keyboards/gmmk/pro/rev1/ansi/keymaps/blackburn29/rgb_matrix_effects.c index 24be93088179..534386ac6bd8 100644 --- a/keyboards/gmmk/pro/rev1/ansi/keymaps/blackburn29/rgb_matrix_effects.c +++ b/keyboards/gmmk/pro/rev1/ansi/keymaps/blackburn29/rgb_matrix_effects.c @@ -37,7 +37,7 @@ void rgb_matrix_handle_effects() { } // Mimic stock functionality of blinking sidebars on caps lock - if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) { + if (host_keyboard_led_state().caps_lock) { if (is_blink_active(200)) { rgb_matrix_set_color(LED_CAPS, RGB_RED); rgb_matrix_set_sidebar_color(RGB_RED);