FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator>=() [2/8]

FASTLED_FORCE_INLINE bool fl::operator>= ( const CRGB & lhs,
const CRGB & rhs )

Check if the sum of the color channels in one CRGB object is greater than or equal to another.

Definition at line 763 of file crgb.h.

764{
765 u16 sl, sr;
766 sl = lhs.r + lhs.g + lhs.b;
767 sr = rhs.r + rhs.g + rhs.b;
768 return sl >= sr;
769}

References FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

Referenced by FL_DISABLE_WARNING().

+ Here is the caller graph for this function: