This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Merge remote-tracking branch 'origin/master' into develop
pull/21284/head
QMK Bot
11 months ago
parent
40a073b140
884be6c1ba
commit
7178645be7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
quantum/rgblight/rgblight.c
+ 1
- 1
quantum/rgblight/rgblight.c
View File
@ -1277,7 +1277,7 @@ void rgblight_effect_snake(animation_status_t *anim) {
for
(
j
=
0
;
j
<
RGBLIGHT_EFFECT_SNAKE_LENGTH
;
j
+
+
)
{
k
=
pos
+
j
*
increment
;
if
(
k
>
RGBLED_NUM
)
{
k
=
k
%
RGBLED_NUM
;
k
=
k
%
(
RGBLED_NUM
)
;
}
if
(
k
<
0
)
{
k
=
k
+
rgblight_ranges
.
effect_num_leds
;
Write
Preview
Loading…
Cancel
Save