FastLED 3.10.8
Loading...
Searching...
No Matches

◆ q16_to_u8()

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

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

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

References fl::FL_NO_EXCEPT.

Referenced by drawImpl().

+ Here is the caller graph for this function: