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

◆ flexPwmIsMidpointSample()

bool fl::channels::rx::flexPwmIsMidpointSample ( u32 high_ns)
inline

Whether a HIGH width contributes to the adaptive-midpoint pre-pass (idle and glitch widths are excluded).

Definition at line 53 of file ws2812_stream_decoder.h.

53 {
54 return high_ns >= 100u && high_ns <= 1500u;
55}

References fl::FL_NO_EXCEPT.

Referenced by decodeFlexPwmEdges(), and fl::channels::rx::Ws2812StreamDecoder::emitPair().

+ Here is the caller graph for this function: