MCPcopy Create free account
hub / github.com/FastLED/FastLED / map32_to_16

Function map32_to_16

src/fl/math/intmap.h:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70/// @deprecated Use int_scale<uint32_t, uint16_t>() instead
71
72inline u16 map32_to_16(u32 x) FL_NOEXCEPT {
73 return fl::int_scale<u32, u16>(x);
74}
75
76/// @deprecated Use int_scale<uint32_t, uint8_t>() instead
77inline u8 map32_to_8(u32 x) FL_NOEXCEPT {

Callers 2

HSV16toRGBFunction · 0.85
transformMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected