mirror of
https://github.com/wled/WLED.git
synced 2025-07-29 13:46:39 +00:00
minor tweak (break instead of continue in setPixelColorXY)
This commit is contained in:
parent
d45b4ad134
commit
2afff05014
@ -188,7 +188,7 @@ void IRAM_ATTR_YN Segment::setPixelColorXY(int x, int y, uint32_t col)
|
|||||||
|
|
||||||
int yY = y;
|
int yY = y;
|
||||||
for (int j = 0; j < grouping; j++) { // groupping vertically
|
for (int j = 0; j < grouping; j++) { // groupping vertically
|
||||||
if(yY >= H) continue;
|
if(yY >= H) break;
|
||||||
int xX = x;
|
int xX = x;
|
||||||
for (int g = 0; g < grouping; g++) { // groupping horizontally
|
for (int g = 0; g < grouping; g++) { // groupping horizontally
|
||||||
if (xX >= W) continue; // we have reached one dimension's end
|
if (xX >= W) continue; // we have reached one dimension's end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user