Skip to content

Commit baa05e8

Browse files
authored
Merge branch 'wled:main' into main
2 parents b974e53 + c92f0a9 commit baa05e8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

wled00/FX_fcn.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,11 +1340,6 @@ void WS2812FX::blendSegment(const Segment &topSegment) const {
13401340
uint8_t opacity = topSegment.currentBri(); // returns transitioned opacity for style FADE
13411341
uint8_t cct = topSegment.currentCCT();
13421342

1343-
if (length == 1) {
1344-
// Can't blend only a single pixel, prevents crash when bus init fails
1345-
return;
1346-
}
1347-
13481343
Segment::setClippingRect(0, 0); // disable clipping by default
13491344

13501345
const unsigned dw = (blendingStyle==BLEND_STYLE_OUTSIDE_IN ? progInv : progress) * width / 0xFFFFU + 1;

0 commit comments

Comments
 (0)