From 39acd1145b2aec4d4e02ded1ed7576a9353435f1 Mon Sep 17 00:00:00 2001 From: 4pplet Date: Wed, 16 Oct 2024 14:08:08 +0200 Subject: [PATCH] potential fix potential fix --- keyboards/4pplet/eagle_viper_rep/rev_b/keyboard.json | 2 +- keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/keyboard.json b/keyboards/4pplet/eagle_viper_rep/rev_b/keyboard.json index bf7d11f74ba..63f1b66dd8e 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/keyboard.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/keyboard.json @@ -44,7 +44,7 @@ "rgblight": { "saturation_steps": 8, "brightness_steps": 8, - "led_count": 16, + "led_count": 17, "animations": { "breathing": true, "rainbow_mood": true, diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c b/keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c index ab052790c3e..24035b95f65 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/rev_b.c @@ -22,6 +22,7 @@ void keyboard_pre_init_kb(void) { gpio_set_pin_output(LAYER_3); gpio_set_pin_output(LAYER_4); gpio_set_pin_output(LAYER_5); + rgblight_set_effect_range(0, 16); keyboard_pre_init_user(); }