Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khoek committed Apr 4, 2024
1 parent 65ed11d commit f248c0d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/rgb_underglow.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ static void zmk_rgb_underglow_effect_kinesis() {
old_led_data.indicators = led_data.indicators;
led_data.indicators = zmk_hid_indicators_get_current_profile();
led_data.layer = zmk_keymap_highest_layer_active();

pixels[0] = zmk_led_rgb_scaled(led_data.indicators & ZMK_LED_CAPSLOCK_BIT ? LED_RGB_HEX());

pixels[0].r = (led_data.indicators & ZMK_LED_CAPSLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
pixels[0].g = (led_data.indicators & ZMK_LED_CAPSLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
Expand Down Expand Up @@ -394,7 +392,6 @@ static void zmk_rgb_underglow_effect_kinesis() {
pixels[1].b =
(led_data.indicators & ZMK_LED_SCROLLLOCK_BIT) * CONFIG_ZMK_RGB_UNDERGLOW_BRT_SCALE;
// set third led as layer

switch (led_data.layer) {
case 0:
pixels[0].r = 0;
Expand Down

0 comments on commit f248c0d

Please sign in to comment.