diff options
Diffstat (limited to 'quantum/rgb_matrix_animations/solid_reactive_anim.h')
| -rw-r--r-- | quantum/rgb_matrix_animations/solid_reactive_anim.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/quantum/rgb_matrix_animations/solid_reactive_anim.h b/quantum/rgb_matrix_animations/solid_reactive_anim.h index 762a95db3..dd49b6530 100644 --- a/quantum/rgb_matrix_animations/solid_reactive_anim.h +++ b/quantum/rgb_matrix_animations/solid_reactive_anim.h | |||
| @@ -3,8 +3,9 @@ | |||
| 3 | RGB_MATRIX_EFFECT(SOLID_REACTIVE) | 3 | RGB_MATRIX_EFFECT(SOLID_REACTIVE) |
| 4 | #ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS | 4 | #ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS |
| 5 | 5 | ||
| 6 | static void SOLID_REACTIVE_math(HSV* hsv, uint16_t offset) { | 6 | static HSV SOLID_REACTIVE_math(HSV hsv, uint16_t offset) { |
| 7 | hsv->h = rgb_matrix_config.hue + qsub8(130, offset); | 7 | hsv.h += qsub8(130, offset); |
| 8 | return hsv; | ||
| 8 | } | 9 | } |
| 9 | 10 | ||
| 10 | bool SOLID_REACTIVE(effect_params_t* params) { | 11 | bool SOLID_REACTIVE(effect_params_t* params) { |
