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

◆ constructWithUserFunction()

XMap fl::XMap::constructWithUserFunction ( uint16_t length,
XFunction xFunction,
uint16_t offset = 0 )
static

Definition at line 10 of file xmap.cpp.

10 {
11 XMap out = XMap(length, kFunction);
12 out.xFunction = xFunction;
13 out.mOffset = offset;
14 return out;
15}
uint16_t length
Definition xmap.h:61
XMap(uint16_t length, bool is_reverse=false, uint16_t offset=0)
Definition xmap.cpp:28
@ kFunction
Definition xmap.h:30
XFunction xFunction
Definition xmap.h:63

References XMap(), kFunction, length, mOffset, and xFunction.

+ Here is the call graph for this function: