Address issue #1713 (#1728)

This commit is contained in:
Dylan Khor 2017-09-17 14:53:45 -04:00 committed by skullydazed
parent 2a02df84b6
commit da887ea412

View File

@ -490,7 +490,7 @@ void rgblight_effect_rainbow_swirl(uint8_t interval) {
static uint16_t last_timer = 0; static uint16_t last_timer = 0;
uint16_t hue; uint16_t hue;
uint8_t i; 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; return;
} }
last_timer = timer_read(); last_timer = timer_read();