commit: 13581820b896dd711266dba2e7c031169c45311b
parent d0d170e6a04799d72279c1ebc56726a17d0564a6
Author: Joel Challis <git@zvecr.com>
Date: Sun, 13 Oct 2024 01:35:35 +0100
horrortroll/nyx/rev1: Fix compilation of custom RGB effect (#24481)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keyboards/horrortroll/nyx/rev1/lib/startup_swirl_anim.h b/keyboards/horrortroll/nyx/rev1/lib/startup_swirl_anim.h
@@ -98,7 +98,7 @@ static void swirl_set_color(hsv_t hsv) {
v_values[v] = 0;
}
hsv.v = v_values[v];
- hsv_t rgb = hsv_to_rgb(hsv);
+ rgb_t rgb = hsv_to_rgb(hsv);
rgb_matrix_set_color(v, rgb.r, rgb.g, rgb.b);
}