fix(rgb): Give battery effect void arg

This commit is contained in:
ReFil 2024-02-12 14:13:47 +00:00
parent d182c091fc
commit 74ec39c92b

View file

@ -177,7 +177,7 @@ static void zmk_rgb_underglow_effect_swirl(void) {
state.animation_step = state.animation_step % HUE_MAX; state.animation_step = state.animation_step % HUE_MAX;
} }
static void zmk_rgb_underglow_effect_battery() { static void zmk_rgb_underglow_effect_battery(void) {
struct zmk_led_hsb hsb = state.color; struct zmk_led_hsb hsb = state.color;
// Only set lights if battery information available, otherwise set to blue // Only set lights if battery information available, otherwise set to blue