aboutsummaryrefslogtreecommitdiff
path: root/users/curry/rgb_lighting_user.c
diff options
context:
space:
mode:
authorRyan <[email protected]>2023-09-04 10:19:59 +1000
committerGitHub <[email protected]>2023-09-04 01:19:59 +0100
commit41bd4e35a09cc50f45112074d2b776254a3a17f8 (patch)
tree9258c5ad40dda232e3b8271942b436bdafa6f115 /users/curry/rgb_lighting_user.c
parent1e3095f9cce45fab0a566e692b1ff1c2047cfa08 (diff)
downloadqmk_firmware-41bd4e35a09cc50f45112074d2b776254a3a17f8.tar.gz
qmk_firmware-41bd4e35a09cc50f45112074d2b776254a3a17f8.zip
Clean up RGB LED type (#21859)
Diffstat (limited to 'users/curry/rgb_lighting_user.c')
-rw-r--r--users/curry/rgb_lighting_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/curry/rgb_lighting_user.c b/users/curry/rgb_lighting_user.c
index 34156744fe..81f3c4e505 100644
--- a/users/curry/rgb_lighting_user.c
+++ b/users/curry/rgb_lighting_user.c
@@ -142,7 +142,7 @@ void scan_rgblight_fadeout(void) { // Don't effing change this function .... rg
if (light->life) {
light->life -= 1;
if (get_highest_layer(layer_state) == 0) {
- sethsv(light->hue + rand() % 0xF, 255, light->life, (LED_TYPE *)&led[light_index]);
+ sethsv(light->hue + rand() % 0xF, 255, light->life, (rgb_led_t *)&led[light_index]);
}
light->timer = timer_read();
} else {