Update solid_reactive_simple_anim.h (#413)
Some checks failed
Build firmware / build-firmware (default) (push) Has been cancelled
Build firmware / build-firmware (oryx) (push) Has been cancelled
Unit Tests / test (push) Has been cancelled

This commit is contained in:
Drashna Jaelre
2025-07-10 18:47:31 -07:00
committed by GitHub
parent 19ac56d311
commit 45118c3edf

View File

@@ -7,7 +7,7 @@ static hsv_t SOLID_REACTIVE_SIMPLE_math(hsv_t 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.v = scale8(255 - offset, hsv.v);
hsv.v = scale8(257 - offset, hsv.v);
return hsv;
}