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

◆ x_reverse()

FASTLED_FORCE_INLINE uint16_t fl::x_reverse ( uint16_t x,
uint16_t length )

Definition at line 19 of file xmap.h.

19 {
20 return length - 1 - x;
21}
int x
Definition Audio.ino:71
UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)

References FASTLED_FORCE_INLINE, length(), and x.

Referenced by fl::XMap::mapToIndex().

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