summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Khor <thekhord@gmail.com>2017-09-17 20:53:45 +0200
committerskullydazed <skullydazed@users.noreply.github.com>2017-09-17 20:53:45 +0200
commitda887ea41228ea9cd59e88d4d2c12c2b371e4cb4 (patch)
treeb9f85be61edd91362dd65f2cf66582ca7885a3d4
parent2a02df84b647b23916ce48e0beb413507001d630 (diff)
downloadqmk_firmware-da887ea41228ea9cd59e88d4d2c12c2b371e4cb4.tar.gz
qmk_firmware-da887ea41228ea9cd59e88d4d2c12c2b371e4cb4.tar.xz
Address issue #1713 (#1728)
-rw-r--r--quantum/rgblight.c2
1 files changed, 1 insertions, 1 deletions
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();