From da887ea41228ea9cd59e88d4d2c12c2b371e4cb4 Mon Sep 17 00:00:00 2001 From: Dylan Khor Date: Sun, 17 Sep 2017 14:53:45 -0400 Subject: Address issue #1713 (#1728) --- quantum/rgblight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quantum/rgblight.c') diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 9ac1893d2..0f02b9a64 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(); -- cgit v1.2.3-70-g09d2