horrortroll/nyx/rev1: Fix compilation of custom RGB effect (#24481)

This commit is contained in:
Joel Challis 2024-10-13 01:35:35 +01:00 committed by GitHub
parent d0d170e6a0
commit 13581820b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ static void swirl_set_color(hsv_t hsv) {
v_values[v] = 0; v_values[v] = 0;
} }
hsv.v = v_values[v]; 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); rgb_matrix_set_color(v, rgb.r, rgb.g, rgb.b);
} }