FastLED 3.9.15
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 24 of file wave_simulation.cpp.hpp.

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

References fl::min(), and x.

+ Here is the call graph for this function: