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

◆ divide_by_3()

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

Definition at line 71 of file rgbw.cpp.hpp.

71 {
72 u16 y = (u16(x) * 85) >> 8;
73 return static_cast<u8>(y);
74}
unsigned char u8
Definition stdint.h:131

References divide_by_3(), fl::x, and fl::y.

Referenced by divide_by_3().

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