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

◆ operator|=() [2/2]

FASTLED_FORCE_INLINE CRGB & CRGB::operator|= ( fl::u8 d)
inline

"or" operator brings each channel up to the higher of the two values

Definition at line 380 of file crgb.h.

381 {
382 if( d > r) r = d;
383 if( d > g) g = d;
384 if( d > b) b = d;
385 return *this;
386 }

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: