FastLED 3.10.6
Loading...
Searching...
No Matches

◆ validResponseLut()

bool fl::anonymous_namespace{pipeline.cpp.hpp}::validResponseLut ( const u16 * values,
u16 size )

Definition at line 18 of file pipeline.cpp.hpp.

18 {
19 if (values == nullptr || size < 2 || values[0] != 0 ||
20 values[size - 1] != 65535) {
21 return false;
22 }
23 for (u16 i = 1; i < size; ++i) {
24 if (values[i] < values[i - 1]) return false;
25 }
26 return true;
27}

References fl::FL_NO_EXCEPT, and validResponseLut().

Referenced by buildWidePipelineQ16(), and validResponseLut().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: