Browse Source

garland: fix Stars animation with more than 255 leds

mcspr-patch-1
DmitryBlinov 3 years ago
committed by Maxim Prokhorov
parent
commit
660ae138d4
1 changed files with 1 additions and 1 deletions
  1. +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];


Loading…
Cancel
Save