summaryrefslogtreecommitdiffstats
path: root/users/mattly
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
committerlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
commite4f4ceaf3f2e3d25fb282273a81f9b58790fc427 (patch)
treec0a257eab0ffe5238fdf2c04882e8ee1fe8fc46e /users/mattly
parent103badc87cb50db1ff3851c84331e86ba78fb681 (diff)
merge upstream 713427c
Diffstat (limited to 'users/mattly')
-rw-r--r--users/mattly/mattly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/mattly/mattly.c b/users/mattly/mattly.c
index eb6536a7f1..afb1c75df1 100644
--- a/users/mattly/mattly.c
+++ b/users/mattly/mattly.c
@@ -9,7 +9,7 @@ static uint16_t current_state = 0;
void set_lights_default(void) {
#ifdef RGBLIGHT_ENABLE
- if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
+ if (host_keyboard_led_state().caps_lock) {
rgblight_sethsv_noeeprom(HSV_CAPS);
} else {
if (current_state == _BASE_MAC) {