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

◆ operator|=() [2/2]

FASTLED_FORCE_INLINE CRGB & CRGB::operator|= ( uint8_t d)
inline

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

Definition at line 312 of file crgb.h.

313 {
314 if( d > r) r = d;
315 if( d > g) g = d;
316 if( d > b) b = d;
317 return *this;
318 }

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: