Rename RGB and HSV structs (#24471)
This commit is contained in:
parent
a10e7cc858
commit
6129af93f4
59 changed files with 122 additions and 117 deletions
|
@ -5,7 +5,7 @@ RGB_MATRIX_EFFECT(HUE_WAVE)
|
|||
// Change huedelta to adjust range of hue change. 0-255.
|
||||
// Looks better with a low value and slow speed for subtle change.
|
||||
// Hue Wave - color changes in a wave to the right
|
||||
static HSV HUE_WAVE_math(HSV hsv, uint8_t i, uint8_t time) {
|
||||
static hsv_t HUE_WAVE_math(hsv_t hsv, uint8_t i, uint8_t time) {
|
||||
uint8_t huedelta = 24;
|
||||
hsv.h = hsv.h + scale8(abs8(g_led_config.point[i].x - time), huedelta);
|
||||
return hsv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue