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

◆ half_duplex_blend_linear()

fl::u8 anonymous_namespace{wave_simulation.cpp.hpp}::half_duplex_blend_linear ( fl::u16 x)

Definition at line 25 of file wave_simulation.cpp.hpp.

25 {
26 x = fl::min(x, 32767); // Q15
27 x *= 2;
28 return x >> 8;
29}
int x
Definition simple.h:92
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
Definition math.h:71

References FL_NO_EXCEPT, fl::min(), and x.

+ Here is the call graph for this function: