Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f248c0d

Browse files
committedApr 4, 2024
fix
1 parent 65ed11d commit f248c0d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎app/src/rgb_underglow.c

-3
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ static void zmk_rgb_underglow_effect_kinesis() {
239239
old_led_data.indicators = led_data.indicators;
240240
led_data.indicators = zmk_hid_indicators_get_current_profile();
241241
led_data.layer = zmk_keymap_highest_layer_active();
242-
243-
pixels[0] = zmk_led_rgb_scaled(led_data.indicators & ZMK_LED_CAPSLOCK_BIT ? LED_RGB_HEX());
244242

245243
pixels[0].r = (led_data.indicators & ZMK_LED_CAPSLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
246244
pixels[0].g = (led_data.indicators & ZMK_LED_CAPSLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
@@ -394,7 +392,6 @@ static void zmk_rgb_underglow_effect_kinesis() {
394392
pixels[1].b =
395393
(led_data.indicators & ZMK_LED_SCROLLLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
396394
// set third led as layer
397-
398395
switch (led_data.layer) {
399396
case 0:
400397
pixels[0].r = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.