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

◆ operator&() [1/2]

FASTLED_FORCE_INLINE CRGB fl::operator& ( const CRGB & p1,
const CRGB & p2 )

Combine two CRGB objects, taking the smallest value of each channel.

Definition at line 794 of file crgb.h.

795{
796 return CRGB( p1.r < p2.r ? p1.r : p2.r,
797 p1.g < p2.g ? p1.g : p2.g,
798 p1.b < p2.b ? p1.b : p2.b);
799}
fl::CRGB CRGB
Definition video.h:18

References FASTLED_FORCE_INLINE, and FL_NO_EXCEPT.

Referenced by FL_DISABLE_WARNING().

+ Here is the caller graph for this function: