175 {
176 uint8_t fr, fg, fb;
177 fr = colormask.r;
178 fg = colormask.g;
179 fb = colormask.b;
180
181 for (uint16_t i = 0; i < numLeds; ++i) {
185 }
186}
LIB8STATIC_ALWAYS_INLINE uint8_t scale8_LEAVING_R1_DIRTY(uint8_t i, fract8 scale)
This version of scale8() does not clean up the R1 register on AVR.
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...