diff options
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r-- | quantum/rgblight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 552456aae3..2215cf5cdf 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -445,7 +445,7 @@ void rgblight_effect_snake(uint8_t interval) { rgblight_set(); if (increament == 1) { if (pos - 1 < 0) { - pos = 13; + pos = RGBLED_NUM-1; } else { pos -= 1; } |