diff options
author | Dylan Khor <thekhord@gmail.com> | 2017-09-17 14:53:45 -0400 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2017-09-17 11:53:45 -0700 |
commit | da887ea41228ea9cd59e88d4d2c12c2b371e4cb4 (patch) | |
tree | b9f85be61edd91362dd65f2cf66582ca7885a3d4 /quantum | |
parent | 2a02df84b647b23916ce48e0beb413507001d630 (diff) |
Address issue #1713 (#1728)
Diffstat (limited to 'quantum')
-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 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(); |