RGB_MATRIX_EFFECT(SOLID_REACTIVE_SIMPLE)
#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
-static void SOLID_REACTIVE_SIMPLE_math(HSV* hsv, uint16_t offset) {
- hsv->v = scale8(255 - offset, rgb_matrix_config.val);
+static HSV SOLID_REACTIVE_SIMPLE_math(HSV hsv, uint16_t offset) {
+ hsv.v = scale8(255 - offset, hsv.v);
+ return hsv;
}
bool SOLID_REACTIVE_SIMPLE(effect_params_t* params) {