This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
garland: fix Stars animation with more than 255 leds
mcspr-patch-1
DmitryBlinov
3 years ago
committed by
Maxim Prokhorov
parent
7434ea3878
commit
660ae138d4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
code/espurna/garland/animations/anim_stars.h
+ 1
- 1
code/espurna/garland/animations/anim_stars.h
View File
@ -23,7 +23,7 @@ class AnimStars : public Anim {
}
void
Run
(
)
override
{
for
(
byte
i
=
0
;
i
<
numLeds
;
i
+
+
)
{
for
(
int
i
=
0
;
i
<
numLeds
;
i
+
+
)
{
byte
phi
=
seq
[
i
]
;
if
(
phi
<
254
)
{
Color
col
=
ledstmp
[
i
]
;
Write
Preview
Loading…
Cancel
Save