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

◆ q16_to_u8()

u8 fl::FlowFieldFP::q16_to_u8 ( i32 v)
staticprivate

Definition at line 541 of file flowfield.cpp.hpp.

541 {
542 i32 integer = v >> 16;
543 if (integer < 0) return 0;
544 if (integer > 255) return 255;
545 return (u8)integer;
546}
unsigned char u8
Definition stdint.h:131

Referenced by drawImpl().

+ Here is the caller graph for this function: