aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Khor <thekhord@gmail.com>2017-09-17 14:53:45 -0400
committerskullydazed <skullydazed@users.noreply.github.com>2017-09-17 11:53:45 -0700
commitda887ea41228ea9cd59e88d4d2c12c2b371e4cb4 (patch)
treeb9f85be61edd91362dd65f2cf66582ca7885a3d4
parent2a02df84b647b23916ce48e0beb413507001d630 (diff)
downloadqmk_firmware-da887ea41228ea9cd59e88d4d2c12c2b371e4cb4.tar.gz
qmk_firmware-da887ea41228ea9cd59e88d4d2c12c2b371e4cb4.zip
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) {
490 static uint16_t last_timer = 0; 490 static uint16_t last_timer = 0;
491 uint16_t hue; 491 uint16_t hue;
492 uint8_t i; 492 uint8_t i;
493 if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_RAINBOW_MOOD_INTERVALS[interval / 2])) { 493 if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_RAINBOW_SWIRL_INTERVALS[interval / 2])) {
494 return; 494 return;
495 } 495 }
496 last_timer = timer_read(); 496 last_timer = timer_read();