FastLED 3.10.10
Loading...
Searching...
No Matches

◆ validResponseLut()

static bool fl::ChannelOptions::validResponseLut ( const u16 * values,
u16 size )
inlinestaticprivate

Definition at line 305 of file options.h.

305 {
306 if (size == 0) return true;
307 if (values == nullptr || size < 2 || values[0] != 0 ||
308 values[size - 1] != 65535) return false;
309 for (u16 i = 1; i < size; ++i) {
310 if (values[i] < values[i - 1]) return false;
311 }
312 return true;
313 }

References fl::FL_NO_EXCEPT.

Referenced by setColorProfile().

+ Here is the caller graph for this function: