mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
horrortroll/nyx/rev1: Fix compilation of custom RGB effect (#24481)
This commit is contained in:
parent
d0d170e6a0
commit
13581820b8
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user