FastLED 3.10.8
Loading...
Searching...
No Matches

◆ validResponseLut()

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

Definition at line 303 of file options.h.

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

References fl::FL_NO_EXCEPT.

Referenced by setColorProfile().

+ Here is the caller graph for this function: