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

◆ scale8_constexpr()

uint8_t scale8_constexpr ( uint8_t i,
fract8 scale )
constexpr

Definition at line 110 of file scale8.h.

110 {
111 return (((uint16_t)i) * (1 + (uint16_t)(scale))) >> 8;
112}
UISlider scale("Scale", 1.0f, 0.0f, 1.0f, 0.01f)

References scale.

Referenced by CRGB::nscale8_constexpr().

+ Here is the caller graph for this function: