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

◆ smap32_to_16()

i16 fl::smap32_to_16 ( i32 x)
inline

Use int_scale<int32_t, int16_t>() instead.

Examples
/home/runner/work/FastLED/FastLED/src/fl/math/intmap.h.

Definition at line 103 of file intmap.h.

103 {
104 return fl::int_scale<i32, i16>(x);
105}

References FL_NOEXCEPT, and x.