FastLED 3.9.15
Loading...
Searching...
No Matches

◆ VisitorFill()

fl::anonymous_namespace{gradient.cpp}::VisitorFill::VisitorFill ( span< const u8 > indices,
span< CRGB > output )
inline

Definition at line 42 of file gradient.cpp.

44 // This assert was triggering on the corkscrew example. Not sure why
45 // but the corrective action of taking the min was corrective action.
46 // FASTLED_ASSERT(
47 // indices.size() == output.size(),
48 // "Gradient::fill: indices and output must be the same size"
49 // "\nSize was" << indices.size() << " and " << output.size());
50 n = MIN(indices.size(), output.size());
51 }
#define MIN(a, b)
Definition math_macros.h:49

References indices, MIN, n, and output.