summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix_animations/cycle_all_anim.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/rgb_matrix_animations/cycle_all_anim.h')
-rw-r--r--quantum/rgb_matrix_animations/cycle_all_anim.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/rgb_matrix_animations/cycle_all_anim.h b/quantum/rgb_matrix_animations/cycle_all_anim.h
index 380dbe05a4..0c45aba8b1 100644
--- a/quantum/rgb_matrix_animations/cycle_all_anim.h
+++ b/quantum/rgb_matrix_animations/cycle_all_anim.h
@@ -2,9 +2,9 @@
RGB_MATRIX_EFFECT(CYCLE_ALL)
#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
-static void CYCLE_ALL_math(HSV* hsv, uint8_t i, uint8_t time)
-{
- hsv->h = time;
+static HSV CYCLE_ALL_math(HSV hsv, uint8_t i, uint8_t time){
+ hsv.h = time;
+ return hsv;
}
bool CYCLE_ALL(effect_params_t* params) {