diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-12-30 08:38:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 11:38:15 +1100 |
commit | 77092675aa7ec001e6466f5ab099dcc9fbcfc856 (patch) | |
tree | 43a893a8a0bdd8e7e024f40e0d73a08a90496bd6 /quantum/rgb_matrix/animations/solid_reactive_simple_anim.h | |
parent | 40fddcb1e5fde9acea6ae0f3b68b15726da0d916 (diff) |
Update RGB matrix reactive gradient timer scale (#19415)
Diffstat (limited to 'quantum/rgb_matrix/animations/solid_reactive_simple_anim.h')
-rw-r--r-- | quantum/rgb_matrix/animations/solid_reactive_simple_anim.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/animations/solid_reactive_simple_anim.h b/quantum/rgb_matrix/animations/solid_reactive_simple_anim.h index bd3ce0817d..7f4e48747a 100644 --- a/quantum/rgb_matrix/animations/solid_reactive_simple_anim.h +++ b/quantum/rgb_matrix/animations/solid_reactive_simple_anim.h @@ -5,7 +5,7 @@ RGB_MATRIX_EFFECT(SOLID_REACTIVE_SIMPLE) static HSV SOLID_REACTIVE_SIMPLE_math(HSV hsv, uint16_t offset) { # ifdef RGB_MATRIX_SOLID_REACTIVE_GRADIENT_MODE - hsv.h = scale16by8(g_rgb_timer, add8(rgb_matrix_config.speed, 1) >> 6); + hsv.h = scale16by8(g_rgb_timer, qadd8(rgb_matrix_config.speed, 8) >> 4); # endif hsv.v = scale8(255 - offset, hsv.v); return hsv; |