FastLED 3.10.6
Loading...
Searching...
No Matches

◆ absDiff()

u32 fl::anonymous_namespace{uart_wave_encoder.cpp.hpp}::absDiff ( u32 a,
u32 b )

Absolute value of difference (unsigned-safe)

Definition at line 22 of file uart_wave_encoder.cpp.hpp.

22 {
23 return (a > b) ? (a - b) : (b - a);
24}

References absDiff(), and fl::FL_NO_EXCEPT.

Referenced by absDiff(), computePulseCount(), and fitUartWave().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: