summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/rgblight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 9ac1893d23..0f02b9a64c 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -490,7 +490,7 @@ void rgblight_effect_rainbow_swirl(uint8_t interval) {
static uint16_t last_timer = 0;
uint16_t hue;
uint8_t i;
- if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_RAINBOW_MOOD_INTERVALS[interval / 2])) {
+ if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_RAINBOW_SWIRL_INTERVALS[interval / 2])) {
return;
}
last_timer = timer_read();