Remove IS_HOST_LED_ON
and migrate usages (#19753)
This commit is contained in:
@@ -187,7 +187,7 @@ static void self_testing(void)
|
||||
if (rgb_state.duration) {
|
||||
rgb_state.duration--;
|
||||
} else {
|
||||
if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
|
||||
if (host_keyboard_led_state().caps_lock) {
|
||||
rgb_state.state = CAPS_ALERT;
|
||||
} else {
|
||||
rgb_state.state = NORMAL;
|
||||
|
Reference in New Issue
Block a user