We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b974e53 + c92f0a9 commit baa05e8Copy full SHA for baa05e8
wled00/FX_fcn.cpp
@@ -1340,11 +1340,6 @@ void WS2812FX::blendSegment(const Segment &topSegment) const {
1340
uint8_t opacity = topSegment.currentBri(); // returns transitioned opacity for style FADE
1341
uint8_t cct = topSegment.currentCCT();
1342
1343
- if (length == 1) {
1344
- // Can't blend only a single pixel, prevents crash when bus init fails
1345
- return;
1346
- }
1347
-
1348
Segment::setClippingRect(0, 0); // disable clipping by default
1349
1350
const unsigned dw = (blendingStyle==BLEND_STYLE_OUTSIDE_IN ? progInv : progress) * width / 0xFFFFU + 1;
0 commit comments