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/rgblight.c | |
parent | 2a02df84b647b23916ce48e0beb413507001d630 (diff) | |
download | qmk_firmware-da887ea41228ea9cd59e88d4d2c12c2b371e4cb4.tar.gz |
Diffstat (limited to 'quantum/rgblight.c')
-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 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(); |