Avoid shadowing global col[]

This commit is contained in:
Blaž Kristan
2025-02-06 14:57:18 +01:00
parent bbd1b730b1
commit 6ea9535463
9 changed files with 36 additions and 36 deletions

View File

@@ -550,7 +550,7 @@ void WLED::beginStrip()
Segment &seg = strip.getSegment(i);
if (seg.isActive()) seg.colors[0] = BLACK;
}
col[0] = col[1] = col[2] = col[3] = 0; // needed for colorUpdated()
colPri[0] = colPri[1] = colPri[2] = colPri[3] = 0; // needed for colorUpdated()
}
briLast = briS; bri = 0;
strip.fill(BLACK);