forked from mirrors/qmk_userspace
fix bugs in animation effects
This commit is contained in:
parent
ba9ac457b2
commit
2647c7cd84
2 changed files with 2 additions and 2 deletions
|
@ -445,7 +445,7 @@ void rgblight_effect_snake(uint8_t interval) {
|
|||
rgblight_set();
|
||||
if (increament == 1) {
|
||||
if (pos - 1 < 0) {
|
||||
pos = 13;
|
||||
pos = RGBLED_NUM-1;
|
||||
} else {
|
||||
pos -= 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue