post PR3904 fixes and improvements
* fix compiler warnings (uninitialized vars, ambiguous functions calls) * restore some lost function prototypes * avoid negative pixel indices * only use "fast" color_add when there is no risk of "overshooting" results * minor optimizations
This commit is contained in:
@@ -5627,7 +5627,7 @@ uint16_t mode_2DPlasmaball(void) { // By: Stepko https://edito
|
||||
(rows - 1 - cy == 0)) ? ColorFromPalette(SEGPALETTE, beat8(5), thisVal, LINEARBLEND) : CRGB::Black);
|
||||
}
|
||||
}
|
||||
SEGMENT.blur(SEGMENT.custom2>>5);
|
||||
SEGMENT.blur(SEGMENT.custom2>>5, (SEGMENT.custom2 > 132)); // WLEDMM
|
||||
|
||||
return FRAMETIME;
|
||||
} // mode_2DPlasmaball()
|
||||
|
||||
Reference in New Issue
Block a user