From cdedf58ff38e688de9d378adf869508cb1af2c7d Mon Sep 17 00:00:00 2001 From: jpskenn Date: Thu, 2 Nov 2023 11:31:11 +0900 Subject: [PATCH] Remove IS_HOST_LED_ON and migrate usages (qmk#19753) --- keyboards/sandy/v01/keymaps/via/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/sandy/v01/keymaps/via/keymap.c b/keyboards/sandy/v01/keymaps/via/keymap.c index e27dfe16d830..b427f179b7c2 100644 --- a/keyboards/sandy/v01/keymaps/via/keymap.c +++ b/keyboards/sandy/v01/keymaps/via/keymap.c @@ -482,7 +482,7 @@ layer_state_t default_layer_state_set_user(layer_state_t state) { } bool led_update_user(led_t led_state) { - rgblight_set_layer_state(3, IS_HOST_LED_ON(USB_LED_CAPS_LOCK)); + rgblight_set_layer_state(3, host_keyboard_led_state().caps_lock); return true; }