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

◆ map32_to_16()

u16 fl::map32_to_16 ( u32 x)
inline
Deprecated
Use int_scale<uint32_t, uint16_t>() instead
Examples
/home/runner/work/FastLED/FastLED/src/fl/math/intmap.h.

Definition at line 72 of file intmap.h.

72 {
73 return fl::int_scale<u32, u16>(x);
74}

References FL_NOEXCEPT, and x.

Referenced by FL_DISABLE_WARNING(), and HSV16toRGB().

+ Here is the caller graph for this function: