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 317 of file crgb.h.

318 {
319 if( d > r) r = d;
320 if( d > g) g = d;
321 if( d > b) b = d;
322 return *this;
323 }

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: