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

◆ divide_by_3()

uint8_t fl::anonymous_namespace{rgbw.cpp}::divide_by_3 ( uint8_t x)
inline

Definition at line 32 of file rgbw.cpp.

32 {
33 uint16_t y = (uint16_t(x) * 85) >> 8;
34 return static_cast<uint8_t>(y);
35}
int y
Definition simple.h:93
int x
Definition simple.h:92

References divide_by_3(), x, and y.

Referenced by divide_by_3().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: