diff options
Diffstat (limited to 'keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c')
-rw-r--r-- | keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c b/keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c index 49e4a242fb..0d7acd7e8b 100644 --- a/keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c +++ b/keyboards/horrortroll/handwired_k552/keymaps/via/led/custom_gradient.c @@ -70,5 +70,5 @@ static bool CUSTOM_GRADIENT(effect_params_t* params) { rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); } - return led_max < DRIVER_LED_TOTAL; + return led_max < RGB_MATRIX_LED_COUNT; } |