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

Function map16_to_8

src/fl/math/intmap.h:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64/// @deprecated Use int_scale<uint16_t, uint8_t>() instead
65
66inline u8 map16_to_8(u16 x) FL_NOEXCEPT {
67 return fl::int_scale<u16, u8>(x);
68}
69
70/// @deprecated Use int_scale<uint32_t, uint16_t>() instead
71

Callers 5

HSV16toRGBFunction · 0.85
easeOutSine8Function · 0.85
easeInOutSine8Function · 0.85
hsv16.cppFile · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected