diff options
author | Ryan <[email protected]> | 2024-10-12 10:10:02 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-12 00:10:02 +0100 |
commit | 6129af93f497077a994e8e41473e2bd3d6ea5e67 (patch) | |
tree | 68de5019339936b281fe337a5d8e5273f8b7dec5 /quantum/rgb_matrix/animations/solid_splash_anim.h | |
parent | a10e7cc8582114267ab474a0049619b510199322 (diff) | |
download | qmk_firmware-6129af93f497077a994e8e41473e2bd3d6ea5e67.tar.gz qmk_firmware-6129af93f497077a994e8e41473e2bd3d6ea5e67.zip |
Rename RGB and HSV structs (#24471)
Diffstat (limited to 'quantum/rgb_matrix/animations/solid_splash_anim.h')
-rw-r--r-- | quantum/rgb_matrix/animations/solid_splash_anim.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/animations/solid_splash_anim.h b/quantum/rgb_matrix/animations/solid_splash_anim.h index 77d6f8c5eb..839ab05b38 100644 --- a/quantum/rgb_matrix/animations/solid_splash_anim.h +++ b/quantum/rgb_matrix/animations/solid_splash_anim.h @@ -11,7 +11,7 @@ RGB_MATRIX_EFFECT(SOLID_MULTISPLASH) # ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS -HSV SOLID_SPLASH_math(HSV hsv, int16_t dx, int16_t dy, uint8_t dist, uint16_t tick) { +hsv_t SOLID_SPLASH_math(hsv_t hsv, int16_t dx, int16_t dy, uint8_t dist, uint16_t tick) { uint16_t effect = tick - dist; if (effect > 255) effect = 255; hsv.v = qadd8(hsv.v, 255 - effect); |