forked from mirrors/qmk_firmware
parent
2a02df84b6
commit
da887ea412
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue