Skip to content

Commit

Permalink
Solid reactive: improve fading effect (qmk#22656)
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper authored Jan 9, 2024
1 parent e67d2c2 commit f39386a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/rgb_matrix/animations/solid_reactive_anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ static HSV SOLID_REACTIVE_math(HSV hsv, uint16_t offset) {
# ifdef RGB_MATRIX_SOLID_REACTIVE_GRADIENT_MODE
hsv.h = scale16by8(g_rgb_timer, qadd8(rgb_matrix_config.speed, 8) >> 4);
# endif
hsv.h += qsub8(130, offset);
hsv.h += scale8(255 - offset, 64);
return hsv;
}

Expand Down

0 comments on commit f39386a

Please sign in to comment.