mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2026-01-06 21:31:58 +00:00
Rename RGB and HSV structs (#24471)
This commit is contained in:
@@ -5,7 +5,7 @@ RGB_MATRIX_EFFECT(HUE_WAVE)
|
||||
// Change huedelta to adjust range of hue change. 0-255.
|
||||
// Looks better with a low value and slow speed for subtle change.
|
||||
// Hue Wave - color changes in a wave to the right
|
||||
static HSV HUE_WAVE_math(HSV hsv, uint8_t i, uint8_t time) {
|
||||
static hsv_t HUE_WAVE_math(hsv_t hsv, uint8_t i, uint8_t time) {
|
||||
uint8_t huedelta = 24;
|
||||
hsv.h = hsv.h + scale8(abs8(g_led_config.point[i].x - time), huedelta);
|
||||
return hsv;
|
||||
|
||||
Reference in New Issue
Block a user