diff --git a/usermods/user_fx/library.json b/usermods/user_fx/library.json index 9420eecdf..83f6358bf 100644 --- a/usermods/user_fx/library.json +++ b/usermods/user_fx/library.json @@ -1,3 +1,4 @@ { - "name": "user_fx" -} + "name": "user_fx", + "build": { "libArchive": false } +} \ No newline at end of file diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index 438c36d5a..7d5158100 100755 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -1459,7 +1459,8 @@ void WS2812FX::blendSegment(const Segment &topSegment) const { const int maxX = std::min(x + topSegment.grouping, width); const int maxY = std::min(y + topSegment.grouping, height); while (y < maxY) { - while (x < maxX) setMirroredPixel(x++, y, c_a, opacity); + int _x = x; + while (_x < maxX) setMirroredPixel(_x++, y, c_a, opacity); y++; } }