mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-23 23:37:46 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
ff73505713
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user